|
#!/bin/bash
|
|
|
|
check_location ()
|
|
{
|
|
if [[ ! -d $(pwd)/AROS/scripts ]]; then
|
|
printf "This script must be placed next to AROS source repository (same top level directory)\n"
|
|
printf "Exiting...\n"
|
|
exit 1
|
|
fi
|
|
}
|
|
|
|
source $(pwd)/AROS/scripts/rebuild-inc
|
|
|
|
check_location
|
|
|
|
main
|