Tweaked the rsync arguments for IANA YANG models.
- Legacy-Id: 15284
This commit is contained in:
parent
c9cc9ff214
commit
780c71aed2
|
@ -23,7 +23,7 @@ $DTDIR/ietf/manage.py update_external_command_info
|
||||||
|
|
||||||
# Get IANA-registered yang models
|
# Get IANA-registered yang models
|
||||||
YANG_IANA_DIR=$(python -c 'import ietf.settings; print ietf.settings.SUBMIT_YANG_IANA_MODEL_DIR')
|
YANG_IANA_DIR=$(python -c 'import ietf.settings; print ietf.settings.SUBMIT_YANG_IANA_MODEL_DIR')
|
||||||
rsync -avz --delete rsync.ietf.org::iana/yang-parameters $YANG_IANA_DIR/
|
rsync -avz --delete rsync.ietf.org::iana/yang-parameters/ ${YANG_IANA_DIR%/}/
|
||||||
|
|
||||||
# Populate the yang repositories
|
# Populate the yang repositories
|
||||||
$DTDIR/ietf/manage.py populate_yang_model_dirs
|
$DTDIR/ietf/manage.py populate_yang_model_dirs
|
||||||
|
|
Loading…
Reference in a new issue