mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
zookeeper: patch shebangs in output scripts
This commit is contained in:
parent
6e9c7f0ad5
commit
ce32952d15
|
@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
|
|||
cp -R conf docs lib ${name}.jar $out
|
||||
mkdir -p $out/bin
|
||||
cp -R bin/{zkCli,zkCleanup,zkEnv,zkServer}.sh $out/bin
|
||||
patchShebangs $out/bin
|
||||
for i in $out/bin/{zkCli,zkCleanup,zkServer}.sh; do
|
||||
wrapProgram $i \
|
||||
--set JAVA_HOME "${jre}" \
|
||||
|
|
Loading…
Reference in a new issue