diff options
author | Jan Metzger | 2019-04-02 22:48:43 +0200 |
---|---|---|
committer | Jan Metzger | 2019-04-02 22:48:43 +0200 |
commit | e71e8137e8280fd2cac417a3a743e8934709cfb4 (patch) | |
tree | ce6e84834763ab4d997a035c2cd12f3a6a5fe43f /update_aur.sh | |
parent | 45a31fce7a75f0a92dbaa348baab747f9b19d10c (diff) | |
download | aur-e71e8137e8280fd2cac417a3a743e8934709cfb4.tar.gz |
Added jq dependency, version bump
Diffstat (limited to 'update_aur.sh')
-rwxr-xr-x | update_aur.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/update_aur.sh b/update_aur.sh index 4e59c1d21dab..f428bdfffa1a 100755 --- a/update_aur.sh +++ b/update_aur.sh @@ -1,12 +1,12 @@ #!/usr/bin/env bash -AUR_REPO="$1" -if [ -n "$AUR_REPO" ]; then - cd "$AUR_REPO" +# Change to the AUR repo +if [ -n "$1" ]; then + cd "$1" fi if [ ! -d ".git" ]; then - echo "Not a repository!" + echo "Not a git repository!" exit 1 fi |