X-Git-Url: http://git.pld-linux.org/?p=packages%2Ffonts-TTF-microsoft.git;a=blobdiff_plain;f=license-installer.sh;fp=license-installer.sh;h=a47c8174f7b24fd454ff4b14f99bb8ba3b302d83;hp=27a0ac73ec80a11e126cdfbb50013d407c3e9c18;hb=457c04ac1c9ece2b8be03f323eb9f1351ab59bf8;hpb=0ed15fb771e5c461f8a9eda0242886d3fcabc858 diff --git a/license-installer.sh b/license-installer.sh index 27a0ac7..a47c817 100644 --- a/license-installer.sh +++ b/license-installer.sh @@ -4,7 +4,7 @@ if [ "$1" = "--with" -a "$2" = "license_agreement" ]; then SRPMDIR=`rpm --define "_topdir $tmp" --eval "%{_srcrpmdir}"` BUILDDIR=`rpm --define "_topdir $tmp" --eval "%{_builddir}"` RPMDIR=`rpm --define "_topdir $tmp" --eval "%{_rpmdir}"` - PACKAGEDIR="$tmp/packages/acroread" + PACKAGEDIR="$tmp/packages/@BASE_NAME@" mkdir -p $SRPMDIR $RPMDIR $SRPMDIR $BUILDDIR $PACKAGEDIR if echo "$3" | grep '\.src\.rpm$' >/dev/null; then