submodule: ignore trailing slash on superproject URL
[gitweb.git] / t / t9100-git-svn-basic.sh
index 56acc1e70eea8498ba1e5546a6f3cb6126a135b1..22d8367ff397fc68683ff1084ce4914cfbfa9d89 100755 (executable)
@@ -30,7 +30,8 @@ test_expect_success \
                echo "deep dir" >dir/a/b/c/d/e/file &&
                mkdir bar &&
                echo "zzz" >bar/zzz &&
-               write_script exec.sh </dev/null &&
+               echo "#!/bin/sh" >exec.sh &&
+               chmod +x exec.sh &&
                svn_cmd import -m "import for git svn" . "$svnrepo" >/dev/null
        ) &&
        rm -rf import &&