packaging: fix fill-templates call to update-pkginfo to pushd appropriately first
authorMichael Adam <obnox@samba.org>
Tue, 10 Feb 2009 22:30:48 +0000 (23:30 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 16 Feb 2009 08:57:00 +0000 (09:57 +0100)
Michael
(cherry picked from commit c28d4ae537d9fc0b76eae758d32356eaf1113c89)
(cherry picked from commit 0f9cfcb7a1b34a6e76209a0fe0e8d49e3ffe15c5)

packaging/bin/fill-templates

index 222294137f6fe4b82ab6198c4d71f52a31a82fea..08a126fe7dffbd38f8ce70ac7c4d5a3874132ed5 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