X-Git-Url: https://iankelling.org/git/?p=buildscripts;a=blobdiff_plain;f=update-builds;h=091ee60cdf7780fcd6e5864b49b1c33bbc9d1653;hp=b2c71d4e5efff5ef0a4159eb2db30d1e47b50b87;hb=3eda2272c19da62375aaf3bae69d5fc371a7c221;hpb=7f9d0ee2aef54df823a9d8ece620e3a1882a03ae diff --git a/update-builds b/update-builds index b2c71d4..091ee60 100755 --- a/update-builds +++ b/update-builds @@ -1,7 +1,7 @@ #!/bin/bash -cd "${BASH_SOURCE%/*}" # directory of the script +x="$(readlink -f "$BASH_SOURCE")"; cd ${x%/*} for x in *; do if [[ $x == update-builds || ! -x $x || -d $x ]]; then continue