From 31b29799085b66d96e76dee3569d95545e64587b Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Wed, 13 Aug 2014 09:39:28 -0400
Subject: [PATCH] debian packaging: fix shell commands

Refs #48032

Change-Id: Icd350ca45f9096a7f1804b3991c2c0025dc6807e
---
 .../launchpad/sflphone-daemon-video/debian/rules         | 9 ++++-----
 .../build-system/launchpad/sflphone-daemon/debian/rules  | 9 ++++-----
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/tools/build-system/launchpad/sflphone-daemon-video/debian/rules b/tools/build-system/launchpad/sflphone-daemon-video/debian/rules
index 6995ebfde1..ae4d84892e 100755
--- a/tools/build-system/launchpad/sflphone-daemon-video/debian/rules
+++ b/tools/build-system/launchpad/sflphone-daemon-video/debian/rules
@@ -35,13 +35,12 @@ PJ_CONFIG_OPTIONS="--prefix=/usr \
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
-	pushd ../contrib
-	mkdir -f native
-	pushd native
+	cd ../contrib
+	mkdir native
+	cd native
 	../bootstrap
 	make
-	popd
-	popd
+	cd ../..
 	# Add here commands to configure the package.
 	./autogen.sh
 	./configure --prefix=/usr
diff --git a/tools/build-system/launchpad/sflphone-daemon/debian/rules b/tools/build-system/launchpad/sflphone-daemon/debian/rules
index 9cf4321cbd..e22a50b919 100755
--- a/tools/build-system/launchpad/sflphone-daemon/debian/rules
+++ b/tools/build-system/launchpad/sflphone-daemon/debian/rules
@@ -19,13 +19,12 @@ DEB_INSTALL_MANPAGES_sflphone_common = sflphoned.1
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
-	pushd ../contrib
-	mkdir -f native
-	pushd native
+	cd ../contrib
+	mkdir native
+	cd native
 	../bootstrap
 	make
-	popd
-	popd
+	cd ../..
 	# Add here commands to configure the package.
 	./autogen.sh
 	./configure --prefix=/usr
-- 
GitLab