zgrviewer: fix java jre binary path
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
e6229b82f0
commit
ebdf3cf3cb
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
cp -r target/* "$out/share/java/zvtm/"
|
cp -r target/* "$out/share/java/zvtm/"
|
||||||
|
|
||||||
echo '#!${runtimeShell}' > "$out/bin/zgrviewer"
|
echo '#!${runtimeShell}' > "$out/bin/zgrviewer"
|
||||||
echo "${jre}/lib/openjdk/jre/bin/java -jar '$out/share/java/zvtm/zgrviewer-${version}.jar' \"\$@\"" >> "$out/bin/zgrviewer"
|
echo "${jre}/bin/java -jar '$out/share/java/zvtm/zgrviewer-${version}.jar' \"\$@\"" >> "$out/bin/zgrviewer"
|
||||||
chmod a+x "$out/bin/zgrviewer"
|
chmod a+x "$out/bin/zgrviewer"
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in New Issue