OILS / deps / source.medo / mksh / WEDGE View on Github | oilshell.org

33 lines, 25 significant
1# Wedge definition for mksh
2#
3# Loaded by deps/wedge.sh.
4
5set -o nounset
6set -o pipefail
7set -o errexit
8
9# sourced
10WEDGE_NAME='mksh'
11WEDGE_VERSION='R52c'
12
13wedge-make() {
14 local src_dir=$1
15 local build_dir=$2
16 local install_dir=$3
17
18 sh $src_dir/Build.sh
19}
20
21wedge-install() {
22 local build_dir=$1
23 local install_dir=$2
24
25 # There's no 'make install'
26 cp -v $build_dir/mksh $install_dir
27}
28
29wedge-smoke-test() {
30 local install_dir=$1
31
32 $install_dir/mksh -c 'echo "hi from mksh"'
33}