summaryrefslogtreecommitdiff
path: root/packaging/Mandrake/makerpms.sh.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Mandrake/makerpms.sh.tmpl')
-rw-r--r--packaging/Mandrake/makerpms.sh.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/Mandrake/makerpms.sh.tmpl b/packaging/Mandrake/makerpms.sh.tmpl
index ba4eff0e2b..5d06e2bbcc 100644
--- a/packaging/Mandrake/makerpms.sh.tmpl
+++ b/packaging/Mandrake/makerpms.sh.tmpl
@@ -13,8 +13,8 @@
#
# rpm --eval should always give a correct answer for this
-SPECDIR=`rpm --eval "%{_specdir}"`
-SRCDIR=`rpm --eval "%{_sourcedir}"`
+SPECDIR=`rpm "$@" --eval "%{_specdir}"`
+SRCDIR=`rpm "$@" --eval "%{_sourcedir}"`
# At this point the (SPECDIR and) SRCDIR vaiables must have a value!