[SCM] Installer for game data files branch, master, updated. efd46d96e303f4a3f010a93ae2ee1d6c68315639
Jon Dowland
jmtd at debian.org
Tue Sep 11 21:08:37 UTC 2012
The following commit has been merged in the master branch:
commit 43ee576ed02d561ec5d28ce702ea37ddcc4a69b2
Author: Jon Dowland <jmtd at debian.org>
Date: Fri Sep 7 23:18:42 2012 +0100
ifind: fail if the base argument is not a dir
diff --git a/lib/game-data-packager-shared b/lib/game-data-packager-shared
index b208a3c..116510a 100644
--- a/lib/game-data-packager-shared
+++ b/lib/game-data-packager-shared
@@ -278,5 +278,5 @@ gdp_unzip() {
ifind() {
base="$1"
file="$2"
- find "$base" -iwholename "$base/$file"
+ [ -d "$base" ] && find "$base" -iwholename "$base/$file"
}
--
Installer for game data files
More information about the Pkg-games-commits
mailing list