aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-24 16:02:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-24 16:02:57 +1200
commit49fc3b26cc4ddb419f0c6945a9faf4e307af0013 (patch)
tree0019207d3fdd0305c21dbaffae116a0425af6c18 /bin
parentAdd dam(1df) (diff)
downloaddotfiles-49fc3b26cc4ddb419f0c6945a9faf4e307af0013.tar.gz
dotfiles-49fc3b26cc4ddb419f0c6945a9faf4e307af0013.zip
Add missing dash
Diffstat (limited to 'bin')
-rw-r--r--bin/dam.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dam.sh b/bin/dam.sh
index 03424515..a80cae4a 100644
--- a/bin/dam.sh
+++ b/bin/dam.sh
@@ -19,7 +19,7 @@ td=$(mktd "$self") || exit
# We'll operate on stdin in the temp directory; write the script's stdin to it
# with cat(1)
-cat -- "${@:-}" >"$td"/stdin
+cat -- "${@:--}" >"$td"/stdin
# Only when that write is finished do we finally spit it all back out again
cat -- "$td"/stdin