]> code.delx.au - monosys/commitdiff
aur-install: delete directories, but always keep pkg files
authorJames Bunton <jbunton@atlassian.com>
Thu, 20 Apr 2017 02:50:52 +0000 (12:50 +1000)
committerJames Bunton <jbunton@atlassian.com>
Thu, 20 Apr 2017 02:50:52 +0000 (12:50 +1000)
aur-install

index ba504997befc8685e747467461af00c626c0ee76..606247ba3dc317d58146b95d5a92118a081e649c 100755 (executable)
@@ -34,7 +34,7 @@ function ask_user_to_continue {
 }
 
 function build_and_install {
-    git clean -xf
+    git clean -x -d -e '*.pkg.*' -f
     git checkout .
     makepkg -sri
 }