Author: sebor
Date: Fri Dec 15 17:27:54 2006
New Revision: 487746

URL: http://svn.apache.org/viewvc?view=rev&rev=487746
Log:
2006-12-15  Martin Sebor  <[EMAIL PROTECTED]>

        * run_locale_utils.sh [Tru64]: Made getopts work on Tru64 by setting
        the BIN_SH variable and re-executing self with the same command line
        arguments.

Modified:
    incubator/stdcxx/trunk/etc/config/run_locale_utils.sh

Modified: incubator/stdcxx/trunk/etc/config/run_locale_utils.sh
URL: 
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/run_locale_utils.sh?view=diff&rev=487746&r1=487745&r2=487746
==============================================================================
--- incubator/stdcxx/trunk/etc/config/run_locale_utils.sh (original)
+++ incubator/stdcxx/trunk/etc/config/run_locale_utils.sh Fri Dec 15 17:27:54 
2006
@@ -47,6 +47,15 @@
 ##############################################################################
 
 
+if [ "`uname`" = "OSF1" -a "$BIN_SH" != "xpg4" ]; then
+    # make getopts work on Tru64 by setting the BIN_SH variable
+    # and re-executing self with the same command line arguments
+    BIN_SH=xpg4
+    export BIN_SH
+    exec $0 $*
+fi
+
+
 locale="./locale"
 localedef="./localedef"
 


Reply via email to