Commit 80cc5bf0 authored by David Flynn's avatar David Flynn Committed by David Flynn
Browse files

tools/cfg-gen: fix ability to pass options to inner script after '--' escape

parent 1288775b
...@@ -19,7 +19,7 @@ while (( $# )); do ...@@ -19,7 +19,7 @@ while (( $# )); do
--pred-lift) attr="predlift" ;; --pred-lift) attr="predlift" ;;
--all) all=1 ;; --all) all=1 ;;
--cfgdir=*) src_cfg_dir="${1#--cfgdir=}/" ;; --cfgdir=*) src_cfg_dir="${1#--cfgdir=}/" ;;
--) break ;; --) shift; break ;;
--help|*) --help|*)
echo -e "usage:\n $0\n" \ echo -e "usage:\n $0\n" \
" [[--octree|--trisoup] [--raht|--pred-lift] | --all]\n" \ " [[--octree|--trisoup] [--raht|--pred-lift] | --all]\n" \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment