Commit 5cb1f5c7 authored by Martin Pool's avatar Martin Pool

Apparently '!' to invert a pipeline result doesn't work on UnixWare.

parent 12b9c840
......@@ -110,13 +110,13 @@ echo "$0 running in `pwd`"
echo " rsync_bin=$rsync_bin"
echo " srcdir=$srcdir"
if ! test -f $rsync_bin
if test ! -f $rsync_bin
then
echo "rsync_bin $rsync_bin is not a file" >&2
exit 2
fi
if ! test -d $srcdir
if test ! -d $srcdir
then
echo "srcdir $srcdir is not a directory" >&2
exit 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment