diff options
Diffstat (limited to '')
| -rwxr-xr-x | aur | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,11 +31,11 @@ _clean() { _update_or_install() { for package in "$@"; do - cd "~/.aur/$package" + cd ~/.aur/"$package" if [[ $? -eq 0 ]]; then (git pull && makepkg -si ; _clean) else - (git clone "https://aur.archlinux.org/$package" "~/.aur/$package" && cd "~/.aur/$package" && makepkg -si ; _clean) + (git clone "https://aur.archlinux.org/$package" ~/.aur/"$package" && cd ~/.aur/"$package" && makepkg -si ; _clean) fi done } |
