https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
10 lines
155 B
Text
10 lines
155 B
Text
#!@stdenv_shell@ -e
|
|
|
|
source @dfInit@
|
|
|
|
for p in soundsense/*; do
|
|
update_path "$p"
|
|
done
|
|
|
|
cd "$DF_DIR"
|
|
PATH=@jre@/bin exec $DF_DIR/soundsense/soundSense.sh
|