bug fix in build script
This commit is contained in:
parent
52b7ec3d10
commit
21adab834c
2
build.sh
2
build.sh
@ -7,7 +7,7 @@ usage() {
|
||||
exit 1
|
||||
}
|
||||
[ $# != 2 ] || [ $# != 3 ] || usage
|
||||
CCN=""
|
||||
CCN="--acd"
|
||||
if [ "$1" == "--ccn" ]
|
||||
then
|
||||
CCN="--ccn"
|
||||
|
@ -28,6 +28,12 @@ parser.add_argument(
|
||||
action="store_true",
|
||||
help="génère éléments pour version CCN (moins de détails)"
|
||||
)
|
||||
parser.add_argument(
|
||||
"-i",
|
||||
"--acd",
|
||||
action="store_true",
|
||||
help="génère éléments pour version ACD (tous les détails) (par défaut)"
|
||||
)
|
||||
args = parser.parse_args()
|
||||
Config.ROOT = args.root
|
||||
Config.ccn = args.ccn
|
||||
|
Loading…
Reference in New Issue
Block a user