Skip to content
Snippets Groups Projects
Commit cf8ebcdc authored by Armand Bahi's avatar Armand Bahi
Browse files

Update symlinks strategy

parent b93b890c
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment