Commit 7a495ead by Feanil Patel

Use the course name instead of the repo name.

parent 94ee5f36
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
shell: > shell: >
executable=/bin/bash executable=/bin/bash
if [[ -d {{ edxapp_course_data_dir }}/{{ item.repo_name }}/static ]]; then if [[ -d {{ edxapp_course_data_dir }}/{{ item.repo_name }}/static ]]; then
ln -sf {{ edxapp_course_data_dir }}/{{ item.repo_name }}/static {{ edxapp_course_static_dir }}/{{ item.repo_name }} ln -sf {{ edxapp_course_data_dir }}/{{ item.repo_name }}/static {{ edxapp_course_static_dir }}/{{ item.course}}
else else
ln -sf {{ edxapp_course_data_dir }}/{{ item.repo_name }} {{ edxapp_course_static_dir }}/{{ item.repo_name }} ln -sf {{ edxapp_course_data_dir }}/{{ item.repo_name }} {{ edxapp_course_static_dir }}/{{ item.course}}
fi fi
with_items: EDXAPP_XML_COURSES with_items: EDXAPP_XML_COURSES
when: item.disposition == "on disk" or item.disposition == "no static import" when: item.disposition == "on disk" or item.disposition == "no static import"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment