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:
$(basename "$0") [BUILD | SCRAP | BOTH] [artwork.xml] [path]"
$(basename "$0") [build | scrap | both] [frontend] [path to roms]"
readonly USAGE
#FRONTENDS="emulationstation pegasus"
@@ -12,10 +12,10 @@ readonly USAGE
function help_message() {
echo "$USAGE"
echo
#echo "Where [FRONTEND] are:"
#for WORD in $FRONTENDS; do
# echo -e "\t$WORD"
#done
echo "Where [FRONTEND] are:"
for WORD in $FRONTENDS; do
echo -e "\t$WORD"
done
}
## check if there are all the parameters
@@ -32,7 +32,7 @@ if ! echo "$FRONTENDS" | grep -w "$2" >/dev/null; then
fi
## parameters
#readonly FRONTEND="$2"
readonly FRONTEND="$2"
readonly ROM_DIR="$3"
## colors