summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR.I.Pienaar <rip@devco.net>2011-07-12 01:35:11 -0700
committerR.I.Pienaar <rip@devco.net>2011-07-12 01:35:11 -0700
commit4a08cd40b5cace62afa1070311245e2379789cb8 (patch)
treedaacaa4352143e7b1fbfeb1d05c89090caae8a65
parent103504b310d307fdf6dcb9ad4c89602abd2b07eb (diff)
parent4dff5634b3412ec6a3ab29418ebb4098816142ec (diff)
downloadpuppet-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.sh2
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