basic args...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-12-20 23:36:22 +03:00
parent 4a07efdf44
commit 4220902d26

View File

@ -23,6 +23,18 @@ usage(){
echo "$0 FROM TO" echo "$0 FROM TO"
} }
if [ $# != 2 ] ; then
echo "$(usage)"
echo "Not enough arguments."
exit 1
fi
FROM=$1
TO=$2
# XXX should we build TO if it's not there???