evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / bo / boot / builder.sh
blob4506e3f0f8615053a85055f5a56147fe1a691e5c
1 if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi
2 source $stdenv/setup
4 boot_bin=$out/bin/boot
6 mkdir -pv $(dirname $boot_bin)
7 cp -v $src $boot_bin
8 chmod -v 755 $boot_bin
10 patchShebangs $boot_bin
12 sed -i \
13 -e "s;\${BOOT_JAVA_COMMAND:-java};\${BOOT_JAVA_COMMAND:-${jdk}/bin/java};g" \
14 $boot_bin