datatracker/docker/scripts/app-create-dirs.sh
Nicolas Giard e02ce05612
chore: make /assets a named volume for dev container (#4018)
* chore: make /assets a static volume for dev container

* chore: fix create-dirs script to point to /assets
2022-05-31 16:43:29 -05:00

37 lines
908 B
Bash
Executable file

#!/bin/bash
for sub in \
test/id \
test/staging \
test/archive \
test/rfc \
test/media \
test/wiki/ietf \
data/nomcom_keys/public_keys \
/assets/ietf-ftp \
/assets/ietf-ftp/bofreq \
/assets/ietf-ftp/charter \
/assets/ietf-ftp/conflict-reviews \
/assets/ietf-ftp/internet-drafts \
/assets/ietf-ftp/rfc \
/assets/ietf-ftp/status-changes \
/assets/ietf-ftp/yang/catalogmod \
/assets/ietf-ftp/yang/draftmod \
/assets/ietf-ftp/yang/ianamod \
/assets/ietf-ftp/yang/invalmod \
/assets/ietf-ftp/yang/rfcmod \
/assets/www6s \
/assets/www6s/staging \
/assets/www6s/wg-descriptions \
/assets/www6s/proceedings \
/assets/www6/ \
/assets/www6/iesg \
/assets/www6/iesg/evaluation \
/assets/media/photo \
; do
if [ ! -d "$sub" ]; then
echo "Creating dir $sub"
mkdir -p "$sub";
fi
done