openbsd-ports/telephony/kamailio/patches/patch-scripts_kamdbctl
sthen ee595d2ae5 - fix unportable code in scripts;
"echo -e" -> "printf"
"exit -1" -> "exit 255"

- some of the patches had hand-rolled chunks to replace /bin/bash
with /bin/sh near a CVS keyword; remove these and replace with a
pre-configure target making it easier to update-patches

- change sample config to disable hardcoded escape sequences for
colours by default

- bump PKGNAME-main
2009-09-12 09:42:04 +00:00

12 lines
443 B
Plaintext

$OpenBSD: patch-scripts_kamdbctl,v 1.2 2009/09/12 09:42:04 sthen Exp $
--- scripts/kamdbctl.orig Sat Sep 12 09:05:19 2009
+++ scripts/kamdbctl Sat Sep 12 09:05:23 2009
@@ -51,7 +51,7 @@ fi
if [ -f "$MYLIBDIR/kamdbctl.base" ]; then
. "$MYLIBDIR/kamdbctl.base"
else
- echo -e "Cannot load core functions '$MYLIBDIR/kamdbctl.base' - exiting ...\n"
+ printf "Cannot load core functions '$MYLIBDIR/kamdbctl.base' - exiting ...\n"
exit -1
fi