@@ -94,9 +94,50 @@ if [ ! -f $VIRTDIR/lib/site-python/settings_local.py ]; then
9494 cp /usr/local/share/datatracker/settings_local.py $VIRTDIR /lib/site-python/
9595fi
9696
97+ for sub in test/id/ test/staging/ test/archive/; do
98+ dir=" /home/$USER /$CWD /$sub "
99+ if [ ! -d " $dir " ]; then
100+ echo " Creating dir $dir "
101+ mkdir -p " $dir " ;
102+ fi
103+ done
104+
105+ for sub in \
106+ nomcom_keys/public_keys \
107+ developers/ietf-ftp \
108+ developers/ietf-ftp/internet-drafts \
109+ developers/ietf-ftp/rfc \
110+ developers/ietf-ftp/charter \
111+ developers/ietf-ftp/status-changes \
112+ developers/ietf-ftp/conflict-reviews \
113+ developers/www6s \
114+ developers/www6s/staging \
115+ developers/www6s/wg-descriptions \
116+ developers/www6s/proceedings \
117+ developers/www6/ \
118+ developers/www6/iesg \
119+ developers/www6/iesg/evaluation \
120+ ; do
121+ dir=" /home/$USER /$CWD /data/$sub "
122+ if [ ! -d " $dir " ]; then
123+ echo " Creating dir $dir "
124+ mkdir -p " $dir " ;
125+ fi
126+ done
127+
128+ if [ ! -f " /home/$USER /$CWD /test/data/draft-aliases" ]; then
129+ echo " Generating draft aliases ..."
130+ ietf/bin/generate-draft-aliases }
131+ fi
132+
133+ if [ ! -f " /home/$USER /$CWD /test/data/group-aliases" ]; then
134+ echo " Generating group aliases ..."
135+ ietf/bin/generate-wg-aliases }
136+ fi
137+
97138chown -R $USER /opt/home/$USER
98139
99- cd /home/$USER /$CWD || cd /home/$USER /
140+ cd " /home/$USER /$CWD " || cd " /home/$USER /"
100141
101142echo " Done!"
102143
0 commit comments