projects
/
evergreen
/
bjwebb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
015a697
)
add a bit of context to upgrade SQL hints
author
Galen Charlton
<gmc@esilibrary.com>
Tue, 17 May 2011 19:09:51 +0000
(15:09 -0400)
committer
Galen Charlton
<gmc@esilibrary.com>
Tue, 17 May 2011 19:09:51 +0000
(15:09 -0400)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/Pg/make-db-patch.pl
patch
|
blob
|
history
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
(executable)
--- 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_;