Fix handling of parameters that are not set by any flavour for eval_run_d.
This commit is contained in:
parent
40e954735c
commit
4c3c7ea9ba
@ -2,7 +2,6 @@
|
|||||||
# Add the stack user we recommend folk use.
|
# Add the stack user we recommend folk use.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -x
|
|
||||||
|
|
||||||
if (( '16' '>' $IMAGE_SIZE )); then
|
if (( '16' '>' $IMAGE_SIZE )); then
|
||||||
echo IMAGE_SIZE=16
|
echo IMAGE_SIZE=16
|
||||||
|
@ -40,6 +40,8 @@ function check_flavour () {
|
|||||||
function eval_run_d () {
|
function eval_run_d () {
|
||||||
local TEMP=`run_d $1`
|
local TEMP=`run_d $1`
|
||||||
echo "$TEMP"
|
echo "$TEMP"
|
||||||
TEMP=`echo "$TEMP" | grep "$2"`
|
if [ `echo "$TEMP" | grep -s "$2"` ]; then
|
||||||
eval "$TEMP"
|
TEMP=`echo "$TEMP" | grep "$2"`
|
||||||
|
eval "$TEMP"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user