projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
51b29ec
)
moved spooling saves into ~/data
author
Chris Koeritz
<fred@gruntose.com>
Sun, 5 Nov 2017 23:41:26 +0000
(18:41 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Sun, 5 Nov 2017 23:41:26 +0000
(18:41 -0500)
scripts/customize/fred/scripts/gamesaver.sh
patch
|
blob
|
history
diff --git
a/scripts/customize/fred/scripts/gamesaver.sh
b/scripts/customize/fred/scripts/gamesaver.sh
index 9831fd58ce3708123ed7c574f130a2cf50b3d028..43aa8d411a2b6bdc8ab94adad9654422f2f30c71 100644
(file)
--- 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"
#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"
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
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()
{
# copies the files for a particular game out to a spooling folder.
function copyem()
{