nixpkgs/pkgs/servers/ssh-script/builder.sh
Armijn Hemel ae1c5fa88f and also, don't forget to actually make $out first...
svn path=/nixpkgs/trunk/; revision=4409
2005-12-22 16:05:03 +00:00

9 lines
167 B
Bash

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