diff options
Diffstat (limited to 'mcon/U/startsh.U')
-rw-r--r-- | mcon/U/startsh.U | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mcon/U/startsh.U b/mcon/U/startsh.U index dbcd8d6..b118449 100644 --- a/mcon/U/startsh.U +++ b/mcon/U/startsh.U @@ -1,12 +1,12 @@ -?RCS: $Id: startsh.U,v 3.0.1.1 1997/02/28 16:25:31 ram Exp $ +?RCS: $Id$ ?RCS: -?RCS: Copyright (c) 1991-1993, Raphael Manfredi +?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ?RCS: ?RCS: You may redistribute only under the terms of the Artistic Licence, ?RCS: as specified in the README file that comes with the distribution. ?RCS: You may reuse parts of this distribution only within the terms of ?RCS: that same Artistic Licence; a copy of which may be found at the root -?RCS: of the source tree for dist 3.0. +?RCS: of the source tree for dist 4.0. ?RCS: ?RCS: $Log: startsh.U,v $ ?RCS: Revision 3.0.1.1 1997/02/28 16:25:31 ram @@ -22,7 +22,7 @@ ?S: script to make sure (hopefully) that it runs with sh and not some ?S: other shell. ?S:. -?F:!try +?F:!sharp : figure out how to guarantee sh startup ?X: Avoid needless chatter since this is now done very early. ?X: echo " " @@ -32,19 +32,19 @@ case "$startsh" in *) ?X: echo "Let's see if '$startsh' works..." ;; esac -cat >try <<EOSS +cat >sharp <<EOSS $startsh set abc test "$?abc" != 1 EOSS -chmod +x try -$eunicefix try -if ./try; then +chmod +x sharp +$eunicefix sharp +if ./sharp; then : echo "Yup, it does." else echo "Hmm... '$startsh' does not guarantee sh startup..." echo "You may have to fix up the shell scripts to make sure $sh runs them." fi -rm -f try +rm -f sharp |