[open-ils-commits] r18283 - branches/rel_2_0/build/tools (atz)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Oct 12 13:02:38 EDT 2010
Author: atz
Date: 2010-10-12 13:02:35 -0400 (Tue, 12 Oct 2010)
New Revision: 18283
Modified:
branches/rel_2_0/build/tools/update.sh
Log:
Be sure to copy new JS files from OpenSRF on a FULL update/install
Modified: branches/rel_2_0/build/tools/update.sh
===================================================================
--- branches/rel_2_0/build/tools/update.sh 2010-10-12 17:01:52 UTC (rev 18282)
+++ branches/rel_2_0/build/tools/update.sh 2010-10-12 17:02:35 UTC (rev 18283)
@@ -58,10 +58,11 @@
and error-prone tasks associated with an upgrade for a developer.
Considerations:
- * Run as opensrf.
+ * Run as opensrf user
* opensrf needs sudo
- * Assumes opensrf has a configured (as in ./configure) both ILS and
- OpenSRF as svn or git-svn checkouts
+ * Assumes opensrf has OpenILS and OpenSRF repositories as svn or git-svn
+ checkouts and both have been configured (as in ./configure)
+
END_OF_USAGE
}
@@ -98,6 +99,7 @@
OSRF=${OPT_OSRFDIR:-$BASE/OpenSRF/trunk};
ILS=${OPT_EGDIR:-$(pwd)};
XUL="$INSTALL/var/web/xul";
+JSDIR="$INSTALL/lib/javascript"; # only used for FULL install
# ----------------------------------
# TEST and SANITY CHECK
@@ -150,6 +152,10 @@
cd $OSRF && make;
cd $ILS && make;
cd $OSRF && sudo make install;
+ if [ -d "$JSDIR" ]; then
+ echo "Copying OpenSRF javascript files into $JSDIR";
+ cp ./src/javascript/* $JSDIR;
+ fi
fi
sudo chown -R opensrf:opensrf $INSTALL
More information about the open-ils-commits
mailing list