mirror of
https://github.com/AppleCommander/bastools.git
synced 2024-12-21 23:29:31 +00:00
17 lines
451 B
Bash
Executable File
17 lines
451 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ! -f ./setup.sh ]
|
|
then
|
|
echo "This script depends on a 'setup.sh' script in the local directory."
|
|
echo "'setup.sh' should define an alias for 'bt' and 'ac'."
|
|
echo "Alternatively, you may craft a shell script with those names and place them on"
|
|
echo "the PATH."
|
|
exit 1
|
|
fi
|
|
|
|
shopt -s expand_aliases
|
|
source ./setup.sh
|
|
|
|
cp template.po destroyer.po
|
|
bt --stdout --applesingle --optimize destroyer.bas | ac -as destroyer.po startup
|