From: Chris Koeritz Date: Wed, 7 Sep 2016 01:22:31 +0000 (-0400) Subject: fixed usage of extra line printing method to use sep. X-Git-Tag: 2.140.90~469 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=83ce2fe33c374095c4c242b9e38368ee2c9467ed;p=feisty_meow.git fixed usage of extra line printing method to use sep. --- diff --git a/customizing/fred/scripts/gamesaver.sh b/customizing/fred/scripts/gamesaver.sh index 5add22ac..157ff4c1 100644 --- a/customizing/fred/scripts/gamesaver.sh +++ b/customizing/fred/scripts/gamesaver.sh @@ -3,14 +3,11 @@ # a helpful script that scrapes any active game saves from wine's storage # area into a spooling saves folder for archiving. +source $FEISTY_MEOW_SCRIPTS/core/functions.sh + WINE_SOURCE_DIR="$HOME/wine_goods/My Games" SPOOLING_OUTPUT_DIR="$HOME/spooling_saves" -function line() -{ - echo "=======" -} - # copies the files for a particular game out to a spooling folder. function copyem() { @@ -21,7 +18,7 @@ function copyem() if [ -d "$source_dir" ]; then echo $game_name cp -v -n "$source_dir"/* "$out_dir"/ - line + sep 28 fi } @@ -37,7 +34,7 @@ done #hmmm: at least make a function out of those repetitive steps. sheesh. -line +sep 28 copyem "skyrim" "$WINE_SOURCE_DIR/Skyrim/Saves" "$SPOOLING_OUTPUT_DIR/skyrim"