packaging: fix fill-templates call to update-pkginfo to pushd appropriately first
[jra/samba/.git] / packaging / bin / fill-templates
index 8b75fddf95c3241b3e91f53b5ce0211ff611278c..90527b8872d5b7b21e1e87b089d40d5a90933974 100755 (executable)
@@ -42,5 +42,6 @@ VERSION=`echo ${VERSION} | sed 's/\"//g'`
 
 echo "VERSION: ${VERSION}"
 
+pushd ${TOPDIR}/packaging > /dev/null 2>&1
 ${TOPDIR}/packaging/bin/update-pkginfo "${VERSION}" 1 ""
-
+popd > /dev/null 2>&1