projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
enhancement--not complaining about empty save dirs
[feisty_meow.git]
/
scripts
/
customize
/
fred
/
scripts
/
games
/
gamesaver.sh
diff --git
a/scripts/customize/fred/scripts/games/gamesaver.sh
b/scripts/customize/fred/scripts/games/gamesaver.sh
index 2beec56d4ca214b77eb29e21dced2fc40c3ebc6b..9a8399d3ee1c0808a1693cc9acf22d08e49c8da1 100644
(file)
--- a/
scripts/customize/fred/scripts/games/gamesaver.sh
+++ b/
scripts/customize/fred/scripts/games/gamesaver.sh
@@
-30,7
+30,7
@@
function copyem()
source_dir="$1"; shift
out_dir="$1"; shift
- if [ -d "$source_dir" ]; then
+ if [ -d "$source_dir"
-a $(ls "$source_dir" 2>/dev/null | wc -c) != 0
]; then
echo $game_name
if [ ! -d "$out_dir" ]; then
mkdir -p "$out_dir"