SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,20 @@
--- bin/pt-mysql-summary.orig Thu Feb 14 18:59:10 2013
+++ bin/pt-mysql-summary Fri Feb 22 17:53:22 2013
@@ -623,7 +623,7 @@ shorten() {
}
group_concat () {
- sed -e '{H; $!d;}' -e 'x' -e 's/\n[[:space:]]*\([[:digit:]]*\)[[:space:]]*/, \1x/g' -e 's/[[:space:]][[:space:]]*/ /g' -e 's/, //' "${1}"
+ sed -e 'H; $!d;' -e 'x' -e 's/\n[[:space:]]*\([[:digit:]]*\)[[:space:]]*/, \1x/g' -e 's/[[:space:]][[:space:]]*/ /g' -e 's/, //' "${1}"
}
# ###########################################################################
@@ -2421,7 +2421,7 @@ main() {
# Execute the program if it was not included from another file.
# This makes it possible to include without executing, and thus test.
if [ "${0##*/}" = "$TOOL" ] \
- || [ "${0##*/}" = "bash" -a "${_:-""}" = "$0" ]; then
+ || [ "${0##*/}" = "sh" -a "${_:-""}" = "$0" ]; then
# Set up temporary dir.
mk_tmpdir