index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/common.sh | 4 |
diff --git a/lib/common.sh b/lib/common.sh index 5a9f6fe..1baab9c 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -140,7 +140,7 @@ get_full_version() { lock() { local fd=$1 local file=$2 - local mesg=("$@:3") + local mesg=("${@:3}") # Only reopen the FD if it wasn't handed to us if [[ "$(readlink -f /dev/fd/$fd)" != "$(readlink -f "$file")" ]]; then @@ -161,7 +161,7 @@ lock() { slock() { local fd=$1 local file=$2 - local mesg=("$@:3") + local mesg=("${@:3}") # Only reopen the FD if it wasn't handed to us if [[ "$(readlink -f /dev/fd/$fd)" != "$(readlink -f "$file")" ]]; then |