fix gamepack downloading
authorRudolf Polzer <rpolzer@nb-04.(none)>
Thu, 1 Apr 2010 08:15:56 +0000 (10:15 +0200)
committerRudolf Polzer <rpolzer@nb-04.(none)>
Thu, 1 Apr 2010 08:15:56 +0000 (10:15 +0200)
download-gamepacks.sh

index f6b86dc..1450ca6 100644 (file)
@@ -33,7 +33,9 @@ pack()
                                ;;
                        gitdir)
                                rm -rf "games/$pack"
+                               cd games
                                git archive --remote="$source" --prefix="$pack/" "$2":"$1" | tar xvf -
+                               cd ..
                                ;;
                esac
                return