[Opensrf-commits] r1350 - trunk/src

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jun 30 15:48:20 EDT 2008


Author: dbs
Date: 2008-06-30 15:48:16 -0400 (Mon, 30 Jun 2008)
New Revision: 1350

Modified:
   trunk/src/Makefile.am
Log:
Change values of default directories in config file in installed files rather than in tree


Modified: trunk/src/Makefile.am
===================================================================
--- trunk/src/Makefile.am	2008-06-30 19:46:08 UTC (rev 1349)
+++ trunk/src/Makefile.am	2008-06-30 19:48:16 UTC (rev 1350)
@@ -55,15 +55,15 @@
 	mv $(BINDIR)/opensrf $(BINDIR)/opensrf-c
 	cp ../bin/osrf_config $(BINDIR)
 	cp ../bin/osrf_ctl.sh $(BINDIR)
-	sed -i 's|LOCALSTATEDIR|$(VAR)|g' '../examples/opensrf.xml.example'
-	sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '../examples/opensrf.xml.example'
-	sed -i 's|LOCALSTATEDIR|$(VAR)|g' '../examples/opensrf_core.xml.example'
-	sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '../examples/opensrf_core.xml.example'
-	sed -i 's|LOCALSTATEDIR|$(VAR)|g' '../examples/srfsh.xml.example'
-	sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '../examples/srfsh.xml.example'
 	cp ../examples/opensrf.xml.example $(ETCDIR)
 	cp ../examples/opensrf_core.xml.example $(ETCDIR)
 	cp ../examples/srfsh.xml.example $(ETCDIR)
+	sed -i 's|LOCALSTATEDIR|$(VAR)|g' '$(ETCDIR)/opensrf.xml.example'
+	sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '$(ETCDIR)/opensrf.xml.example'
+	sed -i 's|LOCALSTATEDIR|$(VAR)|g' '$(ETCDIR)/opensrf_core.xml.example'
+	sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '$(ETCDIR)/opensrf_core.xml.example'
+	sed -i 's|LOCALSTATEDIR|$(VAR)|g' '$(ETCDIR)/srfsh.xml.example'
+	sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '$(ETCDIR)/srfsh.xml.example'
 	cp -r ../include/objson $(INCLUDEDIR)
 	cp -r javascript/* $(JSDIR)/
 	cp -r perlmods/* $(PERLDIR)/



More information about the opensrf-commits mailing list