From: Enrico Scholz Date: Sun, 20 Feb 2005 23:21:28 +0000 (+0000) Subject: rpm.initFilesystem(): fixed variable-names; this caused e.g. an unset %_dbpath macro... X-Git-Tag: IPSENTINEL_VERSION_0_12~131 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ffaadc803f5082ca4c434ba783dc66f20efa458;p=util-vserver.git rpm.initFilesystem(): fixed variable-names; this caused e.g. an unset %_dbpath macro formerly git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1863 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vserver-build.functions.rpm b/util-vserver/scripts/vserver-build.functions.rpm index 9af4a96..3280f96 100644 --- a/util-vserver/scripts/vserver-build.functions.rpm +++ b/util-vserver/scripts/vserver-build.functions.rpm @@ -64,9 +64,9 @@ function rpm.initFilesystem "$DISTRIBDIR/$DISTRIBUTION/rpm" \ "$CONFDIR/.distributions/$DISTRIBUTION/rpm" - echo "%_dbpath $RPMDB_PATH" >>"$pkgcfg/etc/macros" + echo "%_dbpath $RPMDB_PATH" >>"$PKGCFGDIR/rpm/etc/macros" - test "$RPMLIBDIR" = / || ln -s "$RPMLIB" "$confdir/apps/pkgmgmt/rpmlib" + test "$RPMLIBDIR" = / || ln -s "$RPMLIB" "$SETUP_CONFDIR/apps/pkgmgmt/rpmlib" } function rpm.initDB