mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
6562861ba4
svn path=/nixpkgs/trunk/; revision=5021
12 lines
236 B
Bash
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
|