specfile cleanups
[gitweb.git] / git-clone.sh
index aafcc18abafb8befd82165587cc9142ed42eb009..f5ef70b8afa792671f5aa6e4dd752e63c376c6dd 100755 (executable)
@@ -163,7 +163,7 @@ yes,yes)
                        rm -f "$D/.git/TMP_ALT"
                if test -f "$D/.git/TMP_ALT"
                then
-                   ( cd $D &&
+                   ( cd "$D" &&
                      . git-parse-remote &&
                      resolve_alternates "$repo" <"./.git/TMP_ALT" ) |
                    while read alt
@@ -191,7 +191,7 @@ yes,yes)
        ;;
 esac
 
-cd $D || exit
+cd "$D" || exit
 
 if test -f ".git/HEAD"
 then