From 80d9f91f0638f1cdd624f6d3bce4c4998f172370 Mon Sep 17 00:00:00 2001 From: atz Date: Fri, 10 Sep 2010 15:54:52 +0000 Subject: [PATCH] Adapt update.sh to make process changes Some warnings still appear, but script works like it used to. git-svn-id: svn://svn.open-ils.org/ILS/trunk@17571 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- build/tools/update.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/tools/update.sh b/build/tools/update.sh index c76605a7a..a4fcb5ae2 100755 --- a/build/tools/update.sh +++ b/build/tools/update.sh @@ -157,7 +157,7 @@ BIDDATE=$(date +"%Y-%m-%dT%H:%M:%S"); BID=${STAFF_CLIENT_BUILD_ID:-$BIDDATE}; # or "current" rm -f "$XUL/current" || rm -rf "$XUL/current"; # removing the old link/build -cd $ILS && sudo make install STAFF_CLIENT_BUILD_ID=$BID; +cd $ILS && sudo make install STAFF_CLIENT_STAMP_ID=$BID STAFF_CLIENT_BUILD_ID=$BID; sudo chown -R opensrf:opensrf $INSTALL [ -d "$XUL/$BID" ] || die_msg "New build directory $XUL/$BID was not created. sudo make install failed?"; @@ -171,7 +171,12 @@ pwd; rm -f $XUL/current-client-build.zip; cp -r "$ILS/Open-ILS/xul/staff_client/build" ./ zip -rq current-client-build.zip build; +echo -n "BUILD_ID: "; cat ./build/BUILD_ID; +echo -n "STAMP_ID: "; +cat ./build/STAMP_ID; +echo -n " VERSION: "; +cat ./build/VERSION; rm -rf ./build; echo "build ID is '$BID'"; -- 2.11.0