diff --git a/install.sh b/install.sh
index 8afac7779..6a5871a7a 100755
--- a/install.sh
+++ b/install.sh
@@ -487,7 +487,7 @@ main ()
     if [ "$with_jmvenv" == 1 ]; then
         jm_root="${jm_source}/jmvenv"
     else
-        jm_root="${jm_source}"
+        jm_root=""
     fi
     jm_deps="${jm_source}/deps"
     export PKG_CONFIG_PATH="${jm_root}/lib/pkgconfig:${PKG_CONFIG_PATH}"