diff --git a/exampleConfigure.sh b/exampleConfigure.sh
index 4cc5d01003fd235d19cb09ff5f87edc77d36107e..d92f07a3e332240500aebf83cd0d0a56f72117c1 100755
--- a/exampleConfigure.sh
+++ b/exampleConfigure.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-SFL_PREFIX=/home/$HOME/sflphone
+SFL_PREFIX=$HOME/sflphone
 
 export LD_LIBRARY_PATH=$SFL_PREFIX/lib
 export LDFLAGS="-L$SFL_PREFIX/lib"
diff --git a/tools/config.sh b/tools/config.sh
index fb2c6062f0b025b7ef4ea2a7d819c50640b4b679..d9803229d43dab773f7150be2b217c2e9e2b3aef 100755
--- a/tools/config.sh
+++ b/tools/config.sh
@@ -1,6 +1,6 @@
 # prefix is without slash
 # default for redhat is /usr
-SFL_PREFIX=/home/$USER/sflphone
+SFL_PREFIX=$HOME/sflphone
 SFL_INSTALL_USER=$USER # could be root too...
 LD_LIBRARY_PATH=$SFL_PREFIX/lib:$LD_LIBRARY_PATH