[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH]



Hi,

I had a problem that the envirnment variables in build.sh weren´t minded. 
After a hours of searching I found the solution. If FORCENONUSONCD1 is not set 
the cpp call in $(BDIR)/rawlist: in the Makefile exits with an error and the 
envirnment variables were destroyed. Following patch repairs it:

--- Makefile.orig       Thu Jun 29 01:17:22 2000
+++ Makefile    Thu Jun 29 01:23:13 2000
@@ -78,6 +78,9 @@
 FIRSTDISKS=CD1
 ifdef FORCENONUSONCD1
 FIRSTDISKS=CD1 CD1_NONUS
+forcenonusoncd1=1
+else
+forcenonusoncd1=0
 endif

 ## DEBUG STUFF ##
@@ -294,7 +297,7 @@
 endif
 	@perl -npe 's/\@ARCH\@/$(ARCH)/g' $(TASK) | \
 	 cpp -nostdinc -nostdinc++ -P -undef -D ARCH=$(ARCH) -D ARCH_$(ARCH) \
-	     -DFORCENONUSONCD1=$(FORCENONUSONCD1) \
+	     -DFORCENONUSONCD1=$(forcenonusoncd1) \
 	     -I $(BASEDIR)/tasks -I $(BDIR) - - >> $(BDIR)/rawlist

 ## DIRECTORIES && PACKAGES && INFOS ##

Hope the TABs are ok.

Bye, Michael
-- 
Michael Schlueter,Zimmer 422,Meitnerweg 4,44227 Dortmund,0231-7275720
Mails: michael@mw.wh.uni-dortmund.de/schlue@debian.org
GPG Fingerprint = 2B65 3B34 8212 337F B37E  585A 79D9 4694 00E0 D054
PGP Fingerprint = AF DD 1F FA A6 C4 C0 65  F6 45 AD AC 2E F5 16 78




Reply to: