From: Chris Koeritz Date: Sun, 5 Nov 2017 23:41:26 +0000 (-0500) Subject: moved spooling saves into ~/data X-Git-Tag: 2.140.90~69 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=5ad476124a41c924aa19e45d676752e8538506ea;p=feisty_meow.git moved spooling saves into ~/data --- diff --git a/scripts/customize/fred/scripts/gamesaver.sh b/scripts/customize/fred/scripts/gamesaver.sh index 9831fd58..43aa8d41 100644 --- a/scripts/customize/fred/scripts/gamesaver.sh +++ b/scripts/customize/fred/scripts/gamesaver.sh @@ -8,7 +8,7 @@ source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" #we are missing the netcp thing. why???? WINE_SOURCE_DIR="$HOME/wine_goods/My Games" -SPOOLING_OUTPUT_DIR="$HOME/spooling_saves" +SPOOLING_OUTPUT_DIR="$HOME/data/spooling_saves" if [ ! -d "$WINE_SOURCE_DIR" ]; then WINE_SOURCE_DIR="/cygdrive/c/users/fred/My Documents/My Games" @@ -18,6 +18,11 @@ if [ ! -d "$WINE_SOURCE_DIR" ]; then exit 1 fi +if [ ! -d "$SPOOLING_OUTPUT_DIR" ]; then + mkdir -p "$SPOOLING_OUTPUT_DIR" + check_result Creating spooling output directory. +fi + # copies the files for a particular game out to a spooling folder. function copyem() {