From 2e10326b9e0ee22982a2b9ac45b6f75a1ee57103 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 7 Nov 2012 12:55:49 -0500 Subject: [PATCH] make_release: add the \set eg_version command to upgrade script We were echoing the output to STDOUT instead of redirecting it to the upgrade script that we were generating. Let's go the last mile and actually get it into the upgrade script. Signed-off-by: Dan Scott Signed-off-by: Bill Erickson --- build/tools/make_release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tools/make_release b/build/tools/make_release index 516fe9ca4b..c141ca7f12 100755 --- a/build/tools/make_release +++ b/build/tools/make_release @@ -220,7 +220,7 @@ if [ $PREV_BRANCH != "PACKAGE" ]; then elif [ -n "$UPGRADE_CHECK" ]; then echo "Found Upgrade Files! Building Upgrade Script." echo "--Upgrade Script for $PREV_VERSION to $VERSION" > $UPGRADE_FILE - echo "\set eg_version '''$VERSION'''" + echo "\set eg_version '''$VERSION'''" >> $UPGRADE_FILE echo "BEGIN;" >> $UPGRADE_FILE grep "config.upgrade_log.*$VERSION" Open-ILS/src/sql/Pg/002.schema.config.sql >> $UPGRADE_FILE for NUM in $UPGRADE_CHECK; do -- 2.43.2