mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2024-11-12 21:09:01 +00:00
fix script
This commit is contained in:
parent
9e9a246736
commit
d8275b18f8
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ while [ -n "$1" ]; do
|
|||
--gcc-version) gcc_version="$2"; shift 2;;
|
||||
--clang-version) clang_version="$2"; shift 2;;
|
||||
-D|--define) user_macros=(${user_macros[@]} "$2"); shift 2;;
|
||||
-f|--force) force=1; shift 2;;
|
||||
-f|--force) force=1; shift;;
|
||||
--) shift; break;;
|
||||
*) echo >&2 -e ": \e[31munknown option($1) used.\e[m"; exit 1;;
|
||||
esac
|
||||
|
|
|
@ -31,7 +31,7 @@ while [ -n "$1" ]; do
|
|||
-h|--height) height=$2; shift 2;;
|
||||
-W|--tile-width) tile_width=$2; shift 2;;
|
||||
-H|--tile-height) tile_height=$2; shift 2;;
|
||||
-f|--force) force=1; shift 2;;
|
||||
-f|--force) force=1; shift;;
|
||||
--) shift; break;;
|
||||
*) echo >&2 -e ": \e[31munknown option($1) used.\e[m"; exit 1;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue