Skip to content

Commit

Permalink
Merge pull request #3047 from sap-labs-france/master-qa
Browse files Browse the repository at this point in the history
merge master-qa
  • Loading branch information
Claude ROSSI authored Mar 28, 2022
2 parents f16e778 + 77aeb8c commit 76ff051
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docker/autoconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ then
[ -z $emobility_landscape ] && { echo "emobility landscape env variable not found, exiting"; exit 1; }
[ -z $emobility_server_type ] && { echo "emobility env server type variable not found, exiting"; exit 1; }
[ -z $emobility_service_type ] && { echo "emobility env service type variable not found, exiting"; exit 1; }
[ ! -f $emobility_install_dir/dist/assets/configs-aws/$emobility_server_type-$emobility_service_type-$emobility_landscape.json ] && { echo "emobility conf dir not found, ignored"; exit 1; }
[ ! -f $emobility_install_dir/assets/configs-aws/$emobility_server_type-$emobility_service_type-$emobility_landscape.json ] && { echo "emobility conf dir not found, ignored"; exit 1; }

cp $emobility_install_dir/dist/assets/configs-aws/$emobility_server_type-$emobility_service_type-$emobility_landscape.json $emobility_install_dir/dist/assets/config.json
rm -rf $emobility_install_dir/dist/assets/configs-aws
cp $emobility_install_dir/assets/configs-aws/$emobility_server_type-$emobility_service_type-$emobility_landscape.json $emobility_install_dir/assets/config.json
rm -rf $emobility_install_dir/assets/configs-aws
else
echo "no emobility env defined, start with default configuration"
fi
2 changes: 1 addition & 1 deletion src/assets/configs-aws

0 comments on commit 76ff051

Please sign in to comment.