updated skyscraper.sh

This commit is contained in:
2022-05-08 11:28:51 +02:00
parent c26867a66f
commit babea20be7
+6 -6
View File
@@ -3,7 +3,7 @@
## usage ## usage
USAGE=" USAGE="
USAGE: USAGE:
$(basename "$0") [BUILD | SCRAP | BOTH] [artwork.xml] [path]" $(basename "$0") [build | scrap | both] [frontend] [path to roms]"
readonly USAGE readonly USAGE
#FRONTENDS="emulationstation pegasus" #FRONTENDS="emulationstation pegasus"
@@ -12,10 +12,10 @@ readonly USAGE
function help_message() { function help_message() {
echo "$USAGE" echo "$USAGE"
echo echo
#echo "Where [FRONTEND] are:" echo "Where [FRONTEND] are:"
#for WORD in $FRONTENDS; do for WORD in $FRONTENDS; do
# echo -e "\t$WORD" echo -e "\t$WORD"
#done done
} }
## check if there are all the parameters ## check if there are all the parameters
@@ -32,7 +32,7 @@ if ! echo "$FRONTENDS" | grep -w "$2" >/dev/null; then
fi fi
## parameters ## parameters
#readonly FRONTEND="$2" readonly FRONTEND="$2"
readonly ROM_DIR="$3" readonly ROM_DIR="$3"
## colors ## colors