From 544f569a4acf88897f9004663439631507b2cb7f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 22 Apr 2006 18:44:56 +0000 Subject: [PATCH] - support for disabling distfiles Changed files: license-installer.sh -> 1.11 --- license-installer.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.44.0