aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Pannacciulli <jpnc@jpnc.info>2015-04-13 07:20:56 -0700
committerJames Pannacciulli <jpnc@jpnc.info>2015-04-13 07:20:56 -0700
commitf426970136c83baf71c089b758319643a2a72986 (patch)
treee128b6dbfc92ab8d2d000eca5a980f5c5f67943b
parent63f3763e5fb81afbf5ce70b756fbc90ad1909843 (diff)
downloadparssh-f426970136c83baf71c089b758319643a2a72986.tar.gz
parssh-f426970136c83baf71c089b758319643a2a72986.tar.bz2
fix quoting issue so .out and .err files are properly tested
...and so that we don't have '.{out,err}' files laying around lol
-rw-r--r--pars.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pars.sh b/pars.sh
index d033db7..9f52bda 100644
--- a/pars.sh
+++ b/pars.sh
@@ -41,7 +41,7 @@ parssh () {
unset _parssh_prepend_host
;;
o|-out)
- touch "${2}.{out,err}" || {
+ touch "${2}."{out,err} || {
echo "'${2}.{out,err}': unable to write / modify file"
return 97
}
@@ -50,7 +50,7 @@ parssh () {
shift
;;
t|-tee)
- touch "${2}.{out,err}" || {
+ touch "${2}."{out,err} || {
echo "'${2}.{out,err}': unable to write / modify file"
return 96
}