From cf8ebcdc51c026c703975addc8ee9ba1ddd0bf8f Mon Sep 17 00:00:00 2001 From: ArmandBahi <armand.bahi@veremes.com> Date: Thu, 18 Oct 2018 12:29:01 +0200 Subject: [PATCH] Update symlinks strategy --- utils/init_symlinks.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/utils/init_symlinks.sh b/utils/init_symlinks.sh index 78fdd17e..e5d56644 100755 --- a/utils/init_symlinks.sh +++ b/utils/init_symlinks.sh @@ -159,15 +159,7 @@ if [[ $depsCount > 0 ]]; then for properties_dir in $( ls "${APP_EXISTING_PATH}/vas/rest/conf"); do if [ -d "${APP_EXISTING_PATH}/vas/rest/conf/${properties_dir}" ]; then - if [ -d "$(pwd)/vas/rest/conf/${properties_dir}" ]; then - for properties_file in $( ls "${APP_EXISTING_PATH}/vas/rest/conf/${properties_dir}"); do - # if [ ${properties_file:0:10}=="properties" || ${properties_file}=="version.inc" ]; then - if [[ $properties_file == "properties"* ]] || [[ $properties_file == "version.inc" ]]; then - echo "copy vas/rest/conf/${properties_dir}/${properties_file}" - cp -f "${APP_EXISTING_PATH}/vas/rest/conf/${properties_dir}/${properties_file}" "$(pwd)/vas/rest/conf/${properties_dir}/${properties_file}" - fi - done - fi + cp -rf "${APP_EXISTING_PATH}/vas/rest/conf/${properties_dir}" "$(pwd)/vas/rest/conf/${properties_dir}" fi done fi -- GitLab