From f426970136c83baf71c089b758319643a2a72986 Mon Sep 17 00:00:00 2001 From: James Pannacciulli Date: Mon, 13 Apr 2015 07:20:56 -0700 Subject: fix quoting issue so .out and .err files are properly tested ...and so that we don't have '.{out,err}' files laying around lol --- pars.sh | 4 ++-- 1 file 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 } -- cgit v1.2.3