[exim-cvs] Bug-fix the xpg4 Solaris logic.

Góra strony
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
Dla: exim-cvs
Temat: [exim-cvs] Bug-fix the xpg4 Solaris logic.
Gitweb: http://git.exim.org/exim.git/commitdiff/88d5edb00796448347da8544088b0db1f9b61ddf
Commit:     88d5edb00796448347da8544088b0db1f9b61ddf
Parent:     4050a04413dda769b60118e3bbb518639be6828a
Author:     Phil Pennock <pdp@???>
AuthorDate: Mon Jan 24 16:40:38 2011 -0500
Committer:  Phil Pennock <pdp@???>
CommitDate: Mon Jan 24 16:40:38 2011 -0500


    Bug-fix the xpg4 Solaris logic.


    Should not code at 9am when still awake then.
    Should sanity-review such code changes before submitting (after sleep).
    Should s,/usr/xpg4/bin/sh,/bin/bash, as a convenient test to confirm
    what I suspected.  But should do so pre-submit.


    Doh.
---
 src/scripts/lookups-Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/src/scripts/lookups-Makefile b/src/scripts/lookups-Makefile
index 959d49e..2c4dc96 100755
--- a/src/scripts/lookups-Makefile
+++ b/src/scripts/lookups-Makefile
@@ -2,13 +2,13 @@

# We turn the configure-built build-$foo/lookups/Makefile.predynamic into Makefile

-if [ -x /usr/xpg4/bin/sh ] && [ -z "EXIM_BLOCK_XPG4_LOOP" ]
+if [ -x /usr/xpg4/bin/sh ] && [ -z "$EXIM_BLOCK_XPG4_LOOP" ]
then
EXIM_BLOCK_XPG4_LOOP=yes
export EXIM_BLOCK_XPG4_LOOP
PATH="/usr/xpg4/bin:$PATH"
export PATH
- exec /usr/xpg4/bin/sh "$@"
+ exec /usr/xpg4/bin/sh "$0" "$@"
fi

input=lookups/Makefile.predynamic