diff options
author | R.I.Pienaar <rip@devco.net> | 2011-07-12 01:35:11 -0700 |
---|---|---|
committer | R.I.Pienaar <rip@devco.net> | 2011-07-12 01:35:11 -0700 |
commit | 4a08cd40b5cace62afa1070311245e2379789cb8 (patch) | |
tree | daacaa4352143e7b1fbfeb1d05c89090caae8a65 | |
parent | 103504b310d307fdf6dcb9ad4c89602abd2b07eb (diff) | |
parent | 4dff5634b3412ec6a3ab29418ebb4098816142ec (diff) | |
download | puppet-concat-4a08cd40b5cace62afa1070311245e2379789cb8.tar.gz puppet-concat-4a08cd40b5cace62afa1070311245e2379789cb8.tar.bz2 |
Merge pull request #10 from mediatemple/master
Fix for /bin/sh on Solaris.
-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 |