summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-10-09 11:16:09 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-10-09 11:16:09 -0400
commit345358c4deb71b7316b99fb025d39d5644249e17 (patch)
tree2be4ee744f8e58ade5e3cfa1afca16254432584c
parentf566ebf8345cf39f1d50eaa6a679b3ca7088f4eb (diff)
downloaddevtools32-345358c4deb71b7316b99fb025d39d5644249e17.tar.xz
This is embarrassing, I messed up the braces on $@ for lock/slocklibretools-20131015
-rw-r--r--lib/common.sh4
1 files changed, 2 insertions, 2 deletions
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