diff options
author | abial <abial@FreeBSD.org> | 1998-09-07 06:46:25 +0000 |
---|---|---|
committer | abial <abial@FreeBSD.org> | 1998-09-07 06:46:25 +0000 |
commit | 25736f24603cbbb3c271feb63677b5fb0afb4a71 (patch) | |
tree | 479ce21fd45c0cb1f569b81a83df4c4a3e171002 /release/picobsd | |
parent | dd93cb448620eda0a8f20dcc09f09a9b5e37cde5 (diff) | |
download | FreeBSD-src-25736f24603cbbb3c271feb63677b5fb0afb4a71.zip FreeBSD-src-25736f24603cbbb3c271feb63677b5fb0afb4a71.tar.gz |
Set the ${suffix} only once...
Diffstat (limited to 'release/picobsd')
-rwxr-xr-x | release/picobsd/build/build | 3 | ||||
-rwxr-xr-x | release/picobsd/build/stage1 | 19 | ||||
-rwxr-xr-x | release/picobsd/build/stage2 | 16 |
3 files changed, 4 insertions, 34 deletions
diff --git a/release/picobsd/build/build b/release/picobsd/build/build index 78f612e..7ed882c 100755 --- a/release/picobsd/build/build +++ b/release/picobsd/build/build @@ -1,7 +1,7 @@ #!/bin/sh - # -# $Id: build,v 1.3 1998/09/04 08:08:05 abial Exp $ +# $Id: build,v 1.4 1998/09/04 19:38:57 abial Exp $ # # You can set the SRC variable which points to your source tree. It's @@ -65,6 +65,7 @@ if [ "${TYPE}" = "custom" ] then suffix="-C" fi +export suffix clear echo "-> Building with following parameters:" diff --git a/release/picobsd/build/stage1 b/release/picobsd/build/stage1 index a95fb01..0f0f7b6 100755 --- a/release/picobsd/build/stage1 +++ b/release/picobsd/build/stage1 @@ -1,28 +1,11 @@ #! /bin/sh - # -# $Id: stage1,v 1.4 1998/08/10 19:06:48 abial Exp $ +# $Id: stage1,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $ # set -e -if [ "${TYPE}" = "dial" ] -then - suffix="-D" -fi -if [ "${TYPE}" = "net" ] -then - suffix="-N" -fi -if [ "${TYPE}" = "isp" ] -then - suffix="-I" -fi -if [ "${TYPE}" = "router" ] -then - suffix="-R" -fi - if [ ! -f ${SRC}/sys/compile/PICOBSD${suffix}.${SIZE}/kernel ]; then echo "-> ERROR: you must build PICOBSD${suffix}.${SIZE} first" exit 1 diff --git a/release/picobsd/build/stage2 b/release/picobsd/build/stage2 index 72426cb..d5f70a7 100755 --- a/release/picobsd/build/stage2 +++ b/release/picobsd/build/stage2 @@ -1,24 +1,10 @@ #! /bin/sh - # -# $Id: stage2,v 1.1.1.1 1998/07/14 07:30:51 abial Exp $ +# $Id: stage2,v 1.1.1.1 1998/08/27 17:38:42 abial Exp $ # set -e -if [ "${TYPE}" = "dial" ] -then - suffix="-D" -fi -if [ "${TYPE}" = "net" ] -then - suffix="-N" -fi -if [ "${TYPE}" = "isp" ] -then - suffix="-I" -fi - - if [ ! -f kernel ]; then echo "-> ERROR: you must build PICOBSD${suffix}.${SIZE} kernel first" exit 1 |