nixpkgs/pkgs/development/interpreters/xulrunner/wrapper/builder.sh

12 lines
203 B
Bash
Raw Normal View History

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