Parcourir la source

Fix path spelling mistakes

Frans Bergman il y a 5 ans
Parent
commit
916dab735e
1 fichiers modifiés avec 6 ajouts et 4 suppressions
  1. 6 4
      install.sh

+ 6 - 4
install.sh

@@ -5,11 +5,13 @@ fancy_print() {
 }
 
 fancy_print "Linking dotfiles"
-for f in ".*"
+for f in .*
 do
     case "$f" in
-        *.git*) continue ;;
-        *.swp)  continue ;;
+        .) continue ;;
+        ..) continue ;;
+        .git) continue ;;
+        *.swp) continue ;;
     esac
     ln -s $(realpath $f) ~/
 done
@@ -41,7 +43,7 @@ done
 git_make_install()
 {
     (
-    mkdir -p "~/git$1";
+    mkdir -p "~/git/$1";
     cd "~/git/$1";
     git clone "$2" .;
     make;