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
|
exit 1
|
||||||
}
|
}
|
||||||
[ $# != 2 ] || [ $# != 3 ] || usage
|
[ $# != 2 ] || [ $# != 3 ] || usage
|
||||||
CCN=""
|
CCN="--acd"
|
||||||
if [ "$1" == "--ccn" ]
|
if [ "$1" == "--ccn" ]
|
||||||
then
|
then
|
||||||
CCN="--ccn"
|
CCN="--ccn"
|
||||||
|
@ -28,6 +28,12 @@ parser.add_argument(
|
|||||||
action="store_true",
|
action="store_true",
|
||||||
help="génère éléments pour version CCN (moins de détails)"
|
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()
|
args = parser.parse_args()
|
||||||
Config.ROOT = args.root
|
Config.ROOT = args.root
|
||||||
Config.ccn = args.ccn
|
Config.ccn = args.ccn
|
||||||
|
Loading…
Reference in New Issue
Block a user