nixpkgs/pkgs/servers/ssh-script/builder.sh
Armijn Hemel 35e30e7797 adapt files so that "networking" now also work with our new scheme
svn path=/nixpkgs/trunk/; revision=5049
2006-03-17 14:16:11 +00:00

14 lines
295 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" \
-e "s^@softdeps\@^$softdeps^g" \
-e "s^@deps\@^$deps^g" \
< $script > $out/control
chmod +x $out/control