nixpkgs/pkgs/development/interpreters/xulrunner/wrapper/builder.sh
Martin Bravenboer 04767dfdd9 * Added xulrunner 1.8.0.1
* Added a basic wrapper generator for xulrunner

* Chatzilla running in xulrunner


svn path=/nixpkgs/trunk/; revision=4809
2006-02-15 02:53:01 +00:00

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