mirror of
https://github.com/frej/fast-export.git
synced 2026-01-23 22:59:02 +01:00
Don't break if the destination directory name contains a space
This commit is contained in:
@@ -70,7 +70,7 @@ if test "z$IS_BARE" != ztrue; then
|
||||
# This is not a bare repo, cd to the toplevel
|
||||
TOPLEVEL=$(git rev-parse --show-toplevel) \
|
||||
|| (echo "Could not find git repo toplevel" ; exit 1)
|
||||
cd $TOPLEVEL || exit 1
|
||||
cd "$TOPLEVEL" || exit 1
|
||||
fi
|
||||
GIT_DIR=$(git rev-parse --git-dir) || (echo "Could not find git repo" ; exit 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user