소스 검색

And fixed the other problem...

Drew 12 년 전
부모
커밋
fd58bc9ab6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      install

+ 2 - 2
install

@@ -6,7 +6,7 @@ for i in $(ls "$DIR"); do
     if [ "$i" != "install" ] && [ "$i" != "UpdateVimPlugins" ]; then 
         if [ -e "$HOME/.$i" ]; then
             read -p "$HOME/.$i exists! Delete? [y/N] " -n 1 -r
-            if [[ $REPLY =$HOME ^[Yy]$ ]]; then
+            if [[ $REPLY =~ ^[Yy]$ ]]; then
                 #probably would be better to explicitly check
                 #if directory before -r and -n
                 rm -r "$HOME/.$i"
@@ -38,6 +38,6 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
     ./configure
     make
     sudo make install
-    rm -r $HOME/exuberant-ctags
+    rm -r "$HOME"/exuberant-ctags
 fi
 echo ""