]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
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 f6b86dcd1d490c6d19fa402f6a5ae120ec1f4a29..1450ca688df86b456a8f048c85007ad8f440adde 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