fix caching when downloading the ROS-for-testing bundle

This commit is contained in:
Yavor Georgiev 2017-06-26 11:42:55 +02:00
parent a6edc69131
commit 2f83d8792b
No known key found for this signature in database
GPG Key ID: 83FC145DA0CCA9C3

View File

@ -6,8 +6,8 @@ set -eo pipefail
. dependencies.list
if [ -f object-server-for-testing/node_modules/realm-object-server/package.json ]; then
if grep -q "\"version\": \"$REALM_OBJECT_SERVER_VERSION\"" object-server-for-testing/node_modules/realm-object-server/package.json; then
if [ -f object-server-for-testing/node_modules/realm-object-server-developer/package.json ]; then
if grep -q "\"version\": \"$REALM_OBJECT_SERVER_VERSION\"" object-server-for-testing/node_modules/realm-object-server-developer/package.json; then
echo -e "yes\n" | object-server-for-testing/reset-server-realms.command
exit
fi