test-lib.sh: Fix some missing path quoting
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
7f0475c308
commit
b480f5cf1a
@ -345,7 +345,7 @@ test_create_repo () {
|
|||||||
repo="$1"
|
repo="$1"
|
||||||
mkdir "$repo"
|
mkdir "$repo"
|
||||||
cd "$repo" || error "Cannot setup test environment"
|
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?"
|
error "cannot run git init -- have you built things yet?"
|
||||||
mv .git/hooks .git/hooks-disabled
|
mv .git/hooks .git/hooks-disabled
|
||||||
cd "$owd"
|
cd "$owd"
|
||||||
|
Reference in New Issue
Block a user