aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-16 21:09:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-16 21:09:32 +1200
commitfadd1fef9b9dfbfd1b98d47f448ec53f2dbefcf7 (patch)
tree0dc8a694901264dc6191c20d58886bed8db2359b /bin
parentSwap td(1) for mktemp(1) in edda(1) (diff)
downloaddotfiles-fadd1fef9b9dfbfd1b98d47f448ec53f2dbefcf7.tar.gz
dotfiles-fadd1fef9b9dfbfd1b98d47f448ec53f2dbefcf7.zip
Quote variable in param expansion in eds(1)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/eds2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/eds b/bin/eds
index cf5c5e65..1855fb34 100755
--- a/bin/eds
+++ b/bin/eds
@@ -33,7 +33,7 @@ fi
# Create a new array with the script directory prepended to the given names
declare -a files
-files=("${@/#/$edspath/}")
+files=("${@/#/"$edspath"/}")
# Collect the names of any scripts that don't exist yet so we can make them
# executable after we're done editing