#!/bin/sh REL=$1 if [ -z $REL ] ; then echo 'Usage: upload-release VERSION [DIR]' echo 'Must be called in directory with binaries or with path' exit 1 fi if [ ! -z "$2" ] ; then cd "$2" fi sftp nijel,gammu@frs.sourceforge.net <