diff options
author | Sharif Nassar <sharif@mediatemple.net> | 2011-07-11 16:54:20 -0700 |
---|---|---|
committer | Sharif Nassar <sharif@mediatemple.net> | 2011-07-11 16:54:20 -0700 |
commit | 4dff5634b3412ec6a3ab29418ebb4098816142ec (patch) | |
tree | daacaa4352143e7b1fbfeb1d05c89090caae8a65 /files | |
parent | 103504b310d307fdf6dcb9ad4c89602abd2b07eb (diff) | |
download | puppet-concat-4dff5634b3412ec6a3ab29418ebb4098816142ec.tar.gz puppet-concat-4dff5634b3412ec6a3ab29418ebb4098816142ec.tar.bz2 |
On Solaris, 'test -a' does not work with /bin/sh
-a file True if file exists. (Not available
in sh.)
Diffstat (limited to 'files')
-rw-r--r-- | files/concatfragments.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/concatfragments.sh b/files/concatfragments.sh index 47663fd..aac827d 100644 --- a/files/concatfragments.sh +++ b/files/concatfragments.sh @@ -80,7 +80,7 @@ if [ x${WORKDIR} = "x" ]; then fi # can we write to -o? -if [ -a ${OUTFILE} ]; then +if [ -f ${OUTFILE} ]; then if [ ! -w ${OUTFILE} ]; then echo "Cannot write to ${OUTFILE}" exit 1 |