]> asedeno.scripts.mit.edu Git - git.git/commitdiff
test-lib.sh: Fix some missing path quoting
authorBryan Donlan <bdonlan@fushizen.net>
Sun, 4 May 2008 05:37:56 +0000 (01:37 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 May 2008 21:17:01 +0000 (14:17 -0700)
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh

index d7ad13b95525886b45ddd3c22fcbf7a25f61ebf2..04e098b96e94321ea6e78d0b859aa4652c7509d0 100644 (file)
@@ -345,7 +345,7 @@ test_create_repo () {
        repo="$1"
        mkdir "$repo"
        cd "$repo" || error "Cannot setup test environment"
-       "$GIT_EXEC_PATH/git" init --template=$GIT_EXEC_PATH/templates/blt/ >/dev/null 2>&1 ||
+       "$GIT_EXEC_PATH/git" init "--template=$GIT_EXEC_PATH/templates/blt/" >/dev/null 2>&1 ||
        error "cannot run git init -- have you built things yet?"
        mv .git/hooks .git/hooks-disabled
        cd "$owd"