Merge pull request #10 from mediatemple/master

Fix for /bin/sh on Solaris.
This commit is contained in:
R.I.Pienaar 2011-07-12 01:35:11 -07:00
commit 4a08cd40b5

View file

@ -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