d36b6a1898
these scripts are, so using /bin/sh instead is no option... svn path=/nixpkgs/trunk/; revision=4492
19 lines
570 B
Bash
19 lines
570 B
Bash
source $stdenv/setup
|
|
|
|
preBuild=preBuild
|
|
|
|
preBuild() {
|
|
sed -e "s^@bash\@^$bash^g" \
|
|
< etc/hotplug/dasd.agent > etc/hotplug/dasd.agent.tmp
|
|
mv etc/hotplug/dasd.agent.tmp etc/hotplug/dasd.agent
|
|
|
|
sed -e "s^@bash\@^$bash^g" \
|
|
< etc/hotplug/tape.agent > etc/hotplug/tape.agent.tmp
|
|
mv etc/hotplug/tape.agent.tmp etc/hotplug/tape.agent
|
|
|
|
sed -e "s^@bash\@^$bash^g" \
|
|
< etc/hotplug.d/default/default.hotplug > etc/hotplug.d/default/default.hotplug.tmp
|
|
mv etc/hotplug.d/default/default.hotplug.tmp etc/hotplug.d/default/default.hotplug
|
|
}
|
|
|
|
genericBuild
|