1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
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