Browse Source

Fix git_make_install function in install.sh

Previously the function would create a directory literally named '\~'.
Frans Bergman 5 years ago
parent
commit
4c327d81a9
1 changed files with 5 additions and 5 deletions
  1. 5 5
      install.sh

+ 5 - 5
install.sh

@@ -43,11 +43,11 @@ done
 git_make_install()
 {
     (
-    mkdir -p "~/git/$1";
-    cd "~/git/$1";
-    git clone "$2" .;
-    make;
-    sudo make install;
+    mkdir -p "$HOME/git/$1"
+    cd "$HOME/git/$1"
+    git clone "$2" .
+    make
+    sudo make install
     )
 }