diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-04-01 01:31:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-04-01 01:31:41 +0000 |
commit | e6253b128b1fa902fb1d7c45b1d2c7858588abe2 (patch) | |
tree | 18cd8ac6e99c0fef64c7d7acab3ee45255ec2371 /distrib/sun3 | |
parent | a60b8be667856b47ec07250410d8fd8930c3ba88 (diff) |
KNF sh ends up saving space; krw ok
Diffstat (limited to 'distrib/sun3')
-rw-r--r-- | distrib/sun3/miniroot/dot.profile | 24 | ||||
-rw-r--r-- | distrib/sun3/ramdisk/dot.profile | 24 |
2 files changed, 16 insertions, 32 deletions
diff --git a/distrib/sun3/miniroot/dot.profile b/distrib/sun3/miniroot/dot.profile index cce3fa6af2e..084b08c954e 100644 --- a/distrib/sun3/miniroot/dot.profile +++ b/distrib/sun3/miniroot/dot.profile @@ -1,4 +1,4 @@ -# $OpenBSD: dot.profile,v 1.6 2001/12/05 19:50:46 deraadt Exp $ +# $OpenBSD: dot.profile,v 1.7 2002/04/01 01:31:39 deraadt Exp $ # # Copyright (c) 1995 Jason R. Thorpe # Copyright (c) 1994 Christopher G. Demetriou @@ -38,7 +38,6 @@ set -o emacs # emacs-style command line editing # the TERM/EDITOR stuff is really well enough parameterized to be moved # into install.sub where it could use the routines there and be invoked # from the various (semi) MI install and upgrade scripts - # terminals believed to be in termcap, default TERM TERMS="sun vt* pcvt* dumb" TERM=sun @@ -69,20 +68,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then echo -n '(I)nstall, (U)pgrade, or (S)hell? ' read _forceloop case "$_forceloop" in - i*|I*) - /install - ;; - - u*|U*) - /upgrade - ;; - - s*|S*) - ;; - - *) - _forceloop="" - ;; + i*|I*) /install + ;; + u*|U*) /upgrade + ;; + s*|S*) ;; + *) _forceloop="" + ;; esac done fi diff --git a/distrib/sun3/ramdisk/dot.profile b/distrib/sun3/ramdisk/dot.profile index 18be48851d9..ea3c356d0f2 100644 --- a/distrib/sun3/ramdisk/dot.profile +++ b/distrib/sun3/ramdisk/dot.profile @@ -1,4 +1,4 @@ -# $OpenBSD: dot.profile,v 1.7 2001/12/05 19:50:46 deraadt Exp $ +# $OpenBSD: dot.profile,v 1.8 2002/04/01 01:31:40 deraadt Exp $ # # Copyright (c) 1995 Jason R. Thorpe # Copyright (c) 1994 Christopher G. Demetriou @@ -38,7 +38,6 @@ set -o emacs # emacs-style command line editing # the TERM/EDITOR stuff is really well enough parameterized to be moved # into install.sub where it could use the routines there and be invoked # from the various (semi) MI install and upgrade scripts - # terminals believed to be in termcap, default TERM TERMS="sun vt* pcvt* dumb" TERM=sun @@ -69,20 +68,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then echo -n '(I)nstall, (U)pgrade, or (S)hell? ' read _forceloop case "$_forceloop" in - i*|I*) - /install - ;; - - u*|U*) - /upgrade - ;; - - s*|S*) - ;; - - *) - _forceloop="" - ;; + i*|I*) /install + ;; + u*|U*) /upgrade + ;; + s*|S*) ;; + *) _forceloop="" + ;; esac done fi |