Also added a new unit test to confirm that 'make' behaviour works as expected, with and without parallelism.
13 lines
207 B
Bash
13 lines
207 B
Bash
vars=$(
|
|
env | {
|
|
IFS="="
|
|
while read key value; do
|
|
if [ "$key" != "${key#REDO}" ] ||
|
|
[ "$key" != "${key#MAKE}" ]; then
|
|
echo "$key"
|
|
fi
|
|
done
|
|
}
|
|
)
|
|
echo "Wiping vars:" $vars >&2
|
|
unset $vars
|