[open-ils-commits] r183 - conifer/trunk/tools (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Mar 15 14:21:55 EDT 2009


Author: dbs
Date: 2009-03-15 14:21:52 -0400 (Sun, 15 Mar 2009)
New Revision: 183

Modified:
   conifer/trunk/tools/patch_conifer.sh
Log:
Let's preserve the symbolic links, as page names count :)


Modified: conifer/trunk/tools/patch_conifer.sh
===================================================================
--- conifer/trunk/tools/patch_conifer.sh	2009-03-15 18:06:34 UTC (rev 182)
+++ conifer/trunk/tools/patch_conifer.sh	2009-03-15 18:21:52 UTC (rev 183)
@@ -56,7 +56,8 @@
 	# We probably need to munge the links to point to default_test for rdetail.js (possibly others?)
 	for skin in $SKINS
 	do
-		cp -r "$CANONICAL_EXPORT_DIR"/Open-ILS/web/opac/skin/default "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test
+		rm -fr "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test
+		cp -dr "$CANONICAL_EXPORT_DIR"/Open-ILS/web/opac/skin/default "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test
 		cp -r "$LOCAL_EXPORT_DIR"/web/opac/skin/"$skin"/* "$INSTALL_DIR"/var/web/opac/skin/"$skin"_test/.
 		for munge_file in 'page_rdetail.xml'
 		do



More information about the open-ils-commits mailing list