You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sfexec/sfexec-create-compress

12 lines
252 B

#!/bin/bash
sfexec-create "$@" || exit 1
echo "Compressing..."
gzip sfexec || exit 1
sfexec-create -s -e 'gzip -d %location/sfexec.gz && chmod +x %location/sfexec && %location/sfexec %args' sfexec.gz > /dev/null || exit 1
rm sfexec.gz
echo "Done."