nixpkgs/pkgs/servers/syslog-script/builder.sh
Armijn Hemel 6562861ba4 fix some brainfarts
svn path=/nixpkgs/trunk/; revision=5021
2006-03-10 13:32:54 +00:00

12 lines
236 B
Bash

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