nixpkgs/pkgs/servers/ssh-script/builder.sh
Armijn Hemel 8a01ee072a we need to the path to initscripts and also make it executable
svn path=/nixpkgs/trunk/; revision=4411
2005-12-22 18:16:10 +00:00

12 lines
229 B
Bash

source $stdenv/setup
ensureDir $out
sed -e "s^@bash\@^$bash^g" \
-e "s^@sshd\@^$ssh^g" \
-e "s^@initscripts\@^$initscripts^g" \
-e "s^@coreutils\@^$coreutils^g" \
< $script > $out/control
chmod +x $out/control