6 TOC_FILENAME="$ASSETS_PATH/$TOC_BASENAME"
8 if [ "$ASSETS_PATH" = "" ]; then
9 echo "Usage: $0 <assets directory>"
14 if [ ! -d "$ASSETS_PATH" ]; then
15 echo "ERROR: cannot find directory '$ASSETS_PATH'!"
20 ls -1Ap "$ASSETS_PATH" | grep -v "^$TOC_BASENAME$" > "$TOC_FILENAME"
22 for i in "$ASSETS_PATH"/*; do