Skip to content

Commit 17c8a22

Browse files
committed
Don't break if the destination directory name contains a space
1 parent 7aa82e8 commit 17c8a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hg-fast-export.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if test "z$IS_BARE" != ztrue; then
7070
# This is not a bare repo, cd to the toplevel
7171
TOPLEVEL=$(git rev-parse --show-toplevel) \
7272
|| (echo "Could not find git repo toplevel" ; exit 1)
73-
cd $TOPLEVEL || exit 1
73+
cd "$TOPLEVEL" || exit 1
7474
fi
7575
GIT_DIR=$(git rev-parse --git-dir) || (echo "Could not find git repo" ; exit 1)
7676

0 commit comments

Comments
 (0)