[or-cvs] r16186: Correct permissions and missing dir for win32 package downlo (in torvm/trunk: . build/win32)

coderman at seul.org coderman at seul.org
Fri Jul 25 07:37:20 UTC 2008


Author: coderman
Date: 2008-07-25 03:37:19 -0400 (Fri, 25 Jul 2008)
New Revision: 16186

Modified:
   torvm/trunk/Makefile
   torvm/trunk/build/win32/Makefile
Log:
Correct permissions and missing dir for win32 package downloads on clean build.

Modified: torvm/trunk/Makefile
===================================================================
--- torvm/trunk/Makefile	2008-07-25 05:35:38 UTC (rev 16185)
+++ torvm/trunk/Makefile	2008-07-25 07:37:19 UTC (rev 16186)
@@ -110,6 +110,7 @@
 
 buildw32src: buildkern
 	@cd build/win32; \
+	chown -R $(BUSER):$(BGROUP) . ; \
 	time su $(BUSER) -c "( $(MAKE) )"; \
 	if (( $$? != 0 )); then \
 		echo "ERROR: Unable to create win32 build ISO image." >&2; \

Modified: torvm/trunk/build/win32/Makefile
===================================================================
--- torvm/trunk/build/win32/Makefile	2008-07-25 05:35:38 UTC (rev 16185)
+++ torvm/trunk/build/win32/Makefile	2008-07-25 07:37:19 UTC (rev 16186)
@@ -125,6 +125,7 @@
 default all: downloads extract buildiso runinstall
 
 downloads: Makefile
+	@if [ ! -d $(WDLDIR) ]; then mkdir -p $(WDLDIR); fi
 	@if [ ! -e $(WDLDIR)/$(ZLIB_F) ]; then $(DLCMD) "$(ZLIB_URL)" $(ZLIB_SUM) "$(WDLDIR)/$(ZLIB_F)"; fi
 	@if [ ! -e $(WDLDIR)/$(GZIP_F) ]; then $(DLCMD) "$(GZIP_URL)" $(GZIP_SUM) "$(WDLDIR)/$(GZIP_F)"; fi
 	@if [ ! -e $(WDLDIR)/$(BZIP2_F) ]; then $(DLCMD) "$(BZIP2_URL)" $(BZIP2_SUM) "$(WDLDIR)/$(BZIP2_F)"; fi



More information about the tor-commits mailing list