summaryrefslogtreecommitdiff
path: root/scripts/create.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-07 10:55:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-07 10:55:50 +0100
commit5101b72fac2c9a6971a0c7d2fe6bbd318e9678ab (patch)
tree73e65e00e46546c46a0bcd9f0d81173da288f2c6 /scripts/create.sh
parent8b0401f6010bb6318fe86f6a6eb11098a0952903 (diff)
use mksh in tools, too
Diffstat (limited to 'scripts/create.sh')
-rwxr-xr-xscripts/create.sh15
1 files changed, 1 insertions, 14 deletions
diff --git a/scripts/create.sh b/scripts/create.sh
index 2d18cc64a..505549247 100755
--- a/scripts/create.sh
+++ b/scripts/create.sh
@@ -2,7 +2,7 @@
#-
# Copyright © 2010, 2011, 2012
# Thorsten Glaser <tg@mirbsd.org>
-# Copyright © 2010, 2011
+# Copyright © 2010-2014
# Waldemar Brodkorb <wbx@openadk.org>
#
# Provided that these terms and disclaimer and all copyright notices
@@ -36,19 +36,6 @@ case :$PATH: in
(*) export PATH=$PATH:$TOPDIR/host_$HOST/usr/bin ;;
esac
-test -n "$KSH_VERSION" || if ! which mksh >/dev/null 2>&1; then
- make package=mksh fetch || exit 1
- df=mksh-R48b.tgz
- rm -rf build_mksh
- mkdir -p build_mksh
- gzip -dc dl/"$df" | (cd build_mksh; cpio -mid)
- cd build_mksh/mksh
- bash Build.sh -r -c lto || bash Build.sh -r || exit 1
- cp mksh "$TOPDIR"/host_$HOST/usr/bin
- cd "$TOPDIR"
- rm -rf build_mksh
-fi
-
test -n "$KSH_VERSION" || exec mksh "$me" "$@"
if test -z "$KSH_VERSION"; then
echo >&2 Fatal error: could not run myself with mksh!