From 41510e82a8946a13965c7db5ed10b0491d88f603 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 17 May 2011 15:09:51 -0400 Subject: [PATCH] add a bit of context to upgrade SQL hints Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/make-db-patch.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Open-ILS/src/sql/Pg/make-db-patch.pl b/Open-ILS/src/sql/Pg/make-db-patch.pl index 30993b8..663b901 100755 --- a/Open-ILS/src/sql/Pg/make-db-patch.pl +++ b/Open-ILS/src/sql/Pg/make-db-patch.pl @@ -97,7 +97,7 @@ if (@deprecates or @supersedes) { } my $patch_init_contents; -$patch_init_contents = `git diff $patch_from -- ./[0-9][0-9][0-9].*.sql | sed -e '/^[^+-]/d' -e '/^\\(--- a\\|+++ b\\)/d' -e 's/^+//'` if ($patch_from ne ''); +$patch_init_contents = `git diff $patch_from -- ./[0-9][0-9][0-9].*.sql | sed -e '/^[^+\@-]/d' -e '/^\\(--- a\\|+++ b\\)/d' -e 's/^+//'` if ($patch_from ne ''); print OUT <<_FOOTER_; -- 1.7.2.5