#! /bin/sh if test "x$FREECOL_VERSION" = "x" ; then echo "set FREECOL_VERSION" >&2 exit 1 fi if test "x$USERNAME" = "x" ; then echo "set USERNAME" >&2 exit 1 fi if test ! -d dist ; then echo "ant dist did not succeed" >&2 exit 1 fi cd dist PREFIX=freecol-$FREECOL_VERSION sftp $USERNAME,freecol@frs.sourceforge.net <&2 exit 1 fi exit 0