nixpkgs/pkgs/games/quake3/demo/builder.sh
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

10 lines
179 B
Bash

source $stdenv/setup
tail -n +165 $demo | tar xvfz -
chmod -R +w .
tail -n +175 $update | tar xvfz -
chmod -R +w .
mkdir -p $out/baseq3
cp demoq3/*.pk3 baseq3/*.pk3 $out/baseq3