Skip to content

Commit

Permalink
add wildcard to shel script
Browse files Browse the repository at this point in the history
git-svn-id: svn://tron.homeunix.org/simutrans/simutrans/trunk@6402 8aca7d54-2c30-db11-9de9-000461428c89
  • Loading branch information
prissi committed Mar 19, 2013
1 parent 4fd8b6f commit 9baffa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_pak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ DownloadInstallZip(){
do_download "$1" "$TEMP/$2"
echo "installing from $2"
# first try to extract all files in simutrans/
unzip -o -C -q "$TEMP/$2" simutrans/ -d . 2> /dev/null
unzip -o -C -q "$TEMP/$2" "simutrans/*" -d . 2> /dev/null

if [ $? -eq 11 ]; then
# no simutrans folder in the zipfile
Expand Down

0 comments on commit 9baffa1

Please sign in to comment.