Browse Source

Fix path spelling mistakes

Frans Bergman 5 years ago
parent
commit
916dab735e
1 changed files with 6 additions and 4 deletions
  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;