diff options
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/git/storage/forked_storage_check.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/storage/forked_storage_check.rb b/lib/gitlab/git/storage/forked_storage_check.rb index 557a3b0e61d..0e9e7ba596b 100644 --- a/lib/gitlab/git/storage/forked_storage_check.rb +++ b/lib/gitlab/git/storage/forked_storage_check.rb @@ -51,7 +51,7 @@ module Gitlab end def test_script(path) - "testpath=\"$(realpath #{Shellwords.escape(path)})\" && stat $testpath" + "testpath=$(realpath #{Shellwords.escape(path)}) && stat \"$testpath\"" end end end |