From ca6a313e8a666efb38cbe62a60d5fa8da334cfa5 Mon Sep 17 00:00:00 2001 From: Hesham Elbashandy Date: Mon, 18 Nov 2019 23:38:13 -0800 Subject: [PATCH] Changes the writing of new properties files from mounted volume to container's metacat dir. Issue ess-dive/ess-dive-project#127 --- docker-entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 7a69ddf..3407057 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -69,11 +69,11 @@ if [ "$1" = 'bin/catalina.sh' ]; then echo '***********************************************************' echo - cp -v $METACATUI_BASE_SKIN_PATH/metacatui.properties ${skin_path}/${skin_name}.properties - cp -v $METACATUI_BASE_SKIN_PATH/metacatui.properties.metadata.xml ${skin_path}/${skin_name}.properties.metadata.xml - cp -Rv ${skin_path} ${METACAT_DIR}/style/skins/ + cp -v $METACATUI_BASE_SKIN_PATH/metacatui.properties ${METACAT_DIR}/style/skins/${skin_name}/${skin_name}.properties + cp -v $METACATUI_BASE_SKIN_PATH/metacatui.properties.metadata.xml ${METACAT_DIR}/style/skins/${skin_name}/${skin_name}.properties.metadata.xml + echo echo '**********************************************************' echo "Finished syncing skin: ${skin_name}"