Create symlink to platform configuration directory too.

CVS patchset: 3590
CVS date: 2000/02/25 17:30:28
This commit is contained in:
jbj 2000-02-25 17:30:28 +00:00
parent 9e75d5397f
commit 79940584c9
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ RPM="rpm --rcfile $TEMPRC"
ARCH="$($RPM --eval '%{_arch}')"
VENDOR="$($RPM --eval '%{_vendor}')"
OS="$($RPM --eval '%{_os}')"
TARGET="$($RPM --eval '%{_target}')"
PPD="${DESTDIR}/${pkglibdir}/${ARCH}-${VENDOR}-${OS}"
@ -30,4 +31,6 @@ cat $PLATFORM |
sed -e s,\\\$\{,\%\{_, \
-e "s,@RPMRC_OPTFLAGS@,$RPMRC_OPTFLAGS," > ${PPD}/macros
ln -sf ${PPD} ${TARGET}
rm $TEMPRC