diff --git a/tools/build-system/build_tarball.sh b/tools/build-system/build_tarball.sh
index 83b07d2a1c447019e2d31dab12cfb2991aa4da1e..e5201716c2f7e8c1ef9dcc1d71972df39f912cae 100755
--- a/tools/build-system/build_tarball.sh
+++ b/tools/build-system/build_tarball.sh
@@ -4,6 +4,8 @@
 #
 # Author: Francois Marier <francois@debian.org>
 
+cd ${WORKSPACE}
+
 if [ ! -e daemon/configure.ac ] ; then
     echo "This script must be run in the root directory of the sflphone repository"
     exit 1