git-clone: exit early if repo isn't specified
[gitweb.git] / t / t3001-ls-files-others-exclude.sh
index fde2bb25fa0fb41c09b4e4c87de8b9d1c0f9c237..6979b7c1c05001d08ce94f9034580f94745b4924 100755 (executable)
@@ -68,7 +68,7 @@ test_expect_success \
      diff -u expect output'
 
 # Test \r\n (MSDOS-like systems)
-echo -ne '*.1\r\n/*.3\r\n!*.6\r\n' >.gitignore
+printf '*.1\r\n/*.3\r\n!*.6\r\n' >.gitignore
 
 test_expect_success \
     'git-ls-files --others with \r\n line endings.' \