Skip to content
Snippets Groups Projects
Commit 89a316ad authored by jdh8d's avatar jdh8d
Browse files

Updates to support --step-option better (spaces in a quoted option)

Former-commit-id: d38366ac7fd900f0e43cb2dd2058939c02bec4d1
parent cd9525e2
No related branches found
No related tags found
No related merge requests found
......@@ -31,10 +31,11 @@ do
sharepath_key="$seq:$variants:dir://$share_path "
# optoins for zipr's large_only plugin to help create non-overlapping code segments.
large_only_options="--step-option zipr:--large_only:on --step-option zipr:true --step-option zipr:--large_only:variant --step-option zipr:$sharepath_key"
#large_only_options="--step-option zipr:--large_only:on --step-option zipr:true --step-option zipr:--large_only:variant --step-option zipr:$sharepath_key"
large_only_options="--step-option zipr:'--large_only:on true --large_only:variant $sharepath_key'"
# optoins to p1 to create non-overlapping canary values.
p1options=" --step-option p1transform:--canary_value --step-option p1transform:0xFF0${seq}${seq}0FF --step-option p1transform:--random_seed --step-option p1transform:$anyseed "
# options to p1 to create non-overlapping canary values.
p1options=" --step-option p1transform:'--canary_value 0xFF0${seq}${seq}0FF --random_seed $anyseed'"
# invoke $PS.
cmd=" PGDATABASE=peasoup_${USER}_v$seq $zipr_env $PEASOUP_HOME/tools/ps_analyze.sh $in $out.v$seq $@ $p1options $large_only_options > variant_output.$seq 2>&1 &"
......
......@@ -241,7 +241,7 @@ check_options()
shift 2
;;
-o|--step-option)
set_step_option $2
set_step_option "$2"
shift 2
;;
# This is the watchdog value
......@@ -692,7 +692,7 @@ shift
#
# finish argument parsing
#
check_options $*
check_options "$@"
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment