File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ #
3+ # Configure bash using the required scallop options.
4+
5+ # change working directory to bash repo
6+ cd " $( dirname " ${BASH_SOURCE[0]} " ) "
7+
8+ # load required configure options
9+ declare -a myconf
10+ while IFS= read -r line; do
11+ [[ -z ${line} || ${line} =~ ^# ]] && continue
12+ myconf+= ( ${line} )
13+ done < configure-scallop-options
14+
15+ # configure using defined options
16+ ./configure " ${myconf[@]} "
Original file line number Diff line number Diff line change 1+ # configure options required by scallop
2+
3+ --disable-readline
4+ --disable-history
5+ --disable-bang-history
6+ --disable-progcomp
7+ --without-bash-malloc
8+ --disable-mem-scramble
9+ --disable-net-redirections
10+ --disable-nls
11+
12+ # job control is required for $PIPESTATUS
13+ --enable-job-control
14+
15+ # enable restricted shell
16+ --enable-restricted
17+
18+ # enable scallop library
19+ --enable-library
You can’t perform that action at this time.
0 commit comments