jing-trang: fixup indentation problems
This commit is contained in:
parent
fbb33ab8c9
commit
cb6a81c607
@ -20,11 +20,11 @@ stdenv.mkDerivation rec {
|
||||
cp ./build/*.jar "$out/share/java/"
|
||||
|
||||
for tool in jing trang; do
|
||||
cat > "$out/bin/$tool" <<EOF
|
||||
#! $SHELL
|
||||
export JAVA_HOME='${jre}'
|
||||
exec '${jre}/bin/java' -jar '$out/share/java/$tool.jar' "\$@"
|
||||
EOF
|
||||
cat > "$out/bin/$tool" <<EOF
|
||||
#! $SHELL
|
||||
export JAVA_HOME='${jre}'
|
||||
exec '${jre}/bin/java' -jar '$out/share/java/$tool.jar' "\$@"
|
||||
EOF
|
||||
done
|
||||
|
||||
chmod +x "$out"/bin/*
|
||||
|
Loading…
Reference in New Issue
Block a user