From 175cb0817e965686cbe8f52c2a74e259a32988dc Mon Sep 17 00:00:00 2001
From: kytv <kytv@mail.i2p>
Date: Wed, 17 Jul 2013 19:45:43 +0000
Subject: [PATCH] fix bashim in i2prouter

---
 debian/patches/0001-path-substitution.patch | 2 +-
 installer/resources/i2prouter               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/0001-path-substitution.patch b/debian/patches/0001-path-substitution.patch
index e1cb1e72da..81a336fa12 100644
--- a/debian/patches/0001-path-substitution.patch
+++ b/debian/patches/0001-path-substitution.patch
@@ -41,7 +41,7 @@ Debian wrapper.config to try to prevent confusion.
 -# should have been replaced by the izpack installer.
 -# If you did not run the installer, replace them with the appropriate paths.
 -I2P="%INSTALL_PATH"
--if [ "`uname -s`" == "Darwin" ]; then
+-if [ "`uname -s`" = "Darwin" ]; then
 -   if [ -d "%USER_HOME/Library/Application Support" ]; then
 -       I2P_CONFIG_DIR="%USER_HOME/Library/Application Support/i2p"
 -   else
diff --git a/installer/resources/i2prouter b/installer/resources/i2prouter
index 39bc19d0b4..59f8b5232d 100644
--- a/installer/resources/i2prouter
+++ b/installer/resources/i2prouter
@@ -29,7 +29,7 @@
 # should have been replaced by the izpack installer.
 # If you did not run the installer, replace them with the appropriate paths.
 I2P="%INSTALL_PATH"
-if [ "`uname -s`" == "Darwin" ]; then
+if [ "`uname -s`" = "Darwin" ]; then
    if [ -d "%USER_HOME/Library/Application Support" ]; then
        I2P_CONFIG_DIR="%USER_HOME/Library/Application Support/i2p"
    else
-- 
GitLab