forked from mirrors/nixpkgs
04767dfdd9
* Added a basic wrapper generator for xulrunner * Chatzilla running in xulrunner svn path=/nixpkgs/trunk/; revision=4809
12 lines
203 B
Bash
12 lines
203 B
Bash
source $stdenv/setup
|
|
|
|
ensureDir $out/bin
|
|
|
|
wrapper="$out/bin/$launcher"
|
|
|
|
echo "#! $SHELL -e" > $wrapper
|
|
echo "" >> $wrapper
|
|
echo "$xulrunner/bin/xulrunner $appfile \"\$@\"" >> $wrapper
|
|
|
|
chmod +x $wrapper
|