[Swift-commit] r3590 - trunk/libexec

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Aug 31 16:38:01 CDT 2010


Author: wozniak
Date: 2010-08-31 16:38:01 -0500 (Tue, 31 Aug 2010)
New Revision: 3590

Modified:
   trunk/libexec/_swiftwrap
Log:
CDM bug fix


Modified: trunk/libexec/_swiftwrap
===================================================================
--- trunk/libexec/_swiftwrap	2010-08-31 04:48:13 UTC (rev 3589)
+++ trunk/libexec/_swiftwrap	2010-08-31 21:38:01 UTC (rev 3590)
@@ -348,7 +348,10 @@
 
 logstate "LINK_INPUTS"
 for L in $INF ; do
-        CDM_POLICY=$( cdm_lookup shared/cdm.pl $CDM_FILE $L )
+    CDM_POLICY="DEFAULT"
+	if [ ! -z $CDM_FILE ]; then
+		CDM_POLICY=$( cdm_lookup shared/cdm.pl $CDM_FILE $L )
+	fi
 	if [ $CDM_POLICY != "DEFAULT" ]; then
 		log "CDM_POLICY: $L -> $CDM_POLICY"
     	        eval cdm_action $DIR "INPUT" $L $CDM_POLICY




More information about the Swift-commit mailing list