[Freeswitch-svn] [commit] r2007 - freeswitch/trunk

Freeswitch SVN anthm at freeswitch.org
Wed Jul 19 23:07:43 EDT 2006


Author: anthm
Date: Wed Jul 19 23:07:43 2006
New Revision: 2007

Modified:
   freeswitch/trunk/Makefile.am
   freeswitch/trunk/Makefile.in

Log:
test for prefix write and don't fail if directory already exists

Modified: freeswitch/trunk/Makefile.am
==============================================================================
--- freeswitch/trunk/Makefile.am	(original)
+++ freeswitch/trunk/Makefile.am	Wed Jul 19 23:07:43 2006
@@ -163,7 +163,7 @@
 	@rm -f build/freeswitch.env
 	@./build/addenv.sh build/freeswitch.env PREFIX $(PREFIX)
 	@./build/addenv.sh build/freeswitch.env MAKE $(MAKE)
-	mkdir $(PREFIX)
+	mkdir -p $(PREFIX)
 	./build/buildlib.sh . install sqlite-3.3.5.tar.gz --prefix=$(PREFIX) --disable-tcl --enable-threadsafe
 	./build/buildlib.sh . install apr-1.2.6.tar.gz --prefix=$(PREFIX)
 	./build/buildlib.sh . install apr-util-1.2.6.tar.gz --with-apr=../apr-1.2.6 --prefix=$(PREFIX)

Modified: freeswitch/trunk/Makefile.in
==============================================================================
--- freeswitch/trunk/Makefile.in	(original)
+++ freeswitch/trunk/Makefile.in	Wed Jul 19 23:07:43 2006
@@ -1093,7 +1093,7 @@
 	@rm -f build/freeswitch.env
 	@./build/addenv.sh build/freeswitch.env PREFIX $(PREFIX)
 	@./build/addenv.sh build/freeswitch.env MAKE $(MAKE)
-	mkdir $(PREFIX)
+	mkdir -p $(PREFIX)
 	./build/buildlib.sh . install sqlite-3.3.5.tar.gz --prefix=$(PREFIX) --disable-tcl --enable-threadsafe
 	./build/buildlib.sh . install apr-1.2.6.tar.gz --prefix=$(PREFIX)
 	./build/buildlib.sh . install apr-util-1.2.6.tar.gz --with-apr=../apr-1.2.6 --prefix=$(PREFIX)



More information about the Freeswitch-svn mailing list