From: Elan Ruusamäe Date: Sat, 22 Apr 2006 18:44:56 +0000 (+0000) Subject: - support for disabling distfiles X-Git-Tag: AC-STABLE X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=refs%2Ftags%2Fauto%2Fac%2Fmacromedia-flash-installer-7_0_63_0-3;hp=c36b1a4b4da4a726dc2f2913755c74c7fe6c6113;p=packages%2Ffonts-TTF-Bitstream-Cyberfonts.git - support for disabling distfiles Changed files: license-installer.sh -> 1.11 --- diff --git a/license-installer.sh b/license-installer.sh index 31a81f7..07b3cb1 100644 --- a/license-installer.sh +++ b/license-installer.sh @@ -30,7 +30,11 @@ if [ "$1" = "--with" -a "$2" = "license_agreement" ]; then fi fi ( cd $SPECDIR - /usr/bin/builder --define _topdir $tmp -nm -nc -ncs --with license_agreement --target @TARGET_CPU@ @BASE_NAME@.spec + nd= + if [ '@USE_DISTFILES@' = 'no' ]; then + nd=-nd + fi + /usr/bin/builder --define _topdir $tmp $nd -nm -nc -ncs --with license_agreement --target @TARGET_CPU@ @BASE_NAME@.spec if [ "$?" -ne 0 ]; then exit 2 fi