From 4dff5634b3412ec6a3ab29418ebb4098816142ec Mon Sep 17 00:00:00 2001 From: Sharif Nassar Date: Mon, 11 Jul 2011 16:54:20 -0700 Subject: On Solaris, 'test -a' does not work with /bin/sh -a file True if file exists. (Not available in sh.) --- files/concatfragments.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3