Tweaked the rsync arguments for IANA YANG models.

- Legacy-Id: 15284
This commit is contained in:
Henrik Levkowetz 2018-07-04 20:28:52 +00:00
parent c9cc9ff214
commit 780c71aed2

View file

@ -23,7 +23,7 @@ $DTDIR/ietf/manage.py update_external_command_info
# Get IANA-registered yang models
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
$DTDIR/ietf/manage.py populate_yang_model_dirs