diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/i2p/i2p.patch')
-rw-r--r-- | nixpkgs/pkgs/tools/networking/i2p/i2p.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/tools/networking/i2p/i2p.patch b/nixpkgs/pkgs/tools/networking/i2p/i2p.patch index 74031eb7aef..3bb4da72917 100644 --- a/nixpkgs/pkgs/tools/networking/i2p/i2p.patch +++ b/nixpkgs/pkgs/tools/networking/i2p/i2p.patch @@ -19,7 +19,7 @@ index eb4995dfe..0186cede3 100644 # Try using the Java binary that I2P was installed with. # If it's not found, try looking in the system PATH. --JAVA=$(which %JAVA_HOME/bin/java || which java) +-JAVA=$(which "%JAVA_HOME"/bin/java || which java) +JAVA=%JAVA% if [ -z $JAVA ] || [ ! -x $JAVA ]; then |