SOURCES: license-installer.sh - support for disabling distfiles

glen glen at pld-linux.org
Sat Apr 22 20:45:01 CEST 2006


Author: glen                         Date: Sat Apr 22 18:45:01 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- support for disabling distfiles

---- Files affected:
SOURCES:
   license-installer.sh (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SOURCES/license-installer.sh
diff -u SOURCES/license-installer.sh:1.10 SOURCES/license-installer.sh:1.11
--- SOURCES/license-installer.sh:1.10	Sat Apr 22 20:35:46 2006
+++ SOURCES/license-installer.sh	Sat Apr 22 20:44:56 2006
@@ -30,7 +30,11 @@
 		fi
 	fi
 	( cd $SPECDIR
-	/usr/bin/builder --define _topdir $tmp -nm -nc -ncs --with license_agreement --target @TARGET_CPU@ @BASE_NAME at .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 at .spec
 	if [ "$?" -ne 0 ]; then
 		exit 2
 	fi
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/license-installer.sh?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list