Page MenuHomePhabricator

D4450.diff
No OneTemporary

D4450.diff

diff --git a/services/scripts/test_service.sh b/services/scripts/test_service.sh
--- a/services/scripts/test_service.sh
+++ b/services/scripts/test_service.sh
@@ -2,8 +2,8 @@
set -e
-SERVICES=`./scripts/list_services.sh`
-SERVICE=`echo "$SERVICES" | grep $1` || echo "No such service: $1"
+SERVICES=$(./scripts/list_services.sh)
+SERVICE=$(grep "$1" <<< echo "$SERVICES") || echo "No such service: $1"
if [ "$SERVICE" != "$1" ]; then
echo "Expected one of these:"
@@ -15,5 +15,5 @@
echo "${SERVICE} service will be tested"
-docker-compose build ${SERVICE}-server
-docker-compose run ${SERVICE}-server
+docker-compose build "${SERVICE}"-server
+docker-compose run "${SERVICE}"-server

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 11:44 AM (20 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2584450
Default Alt Text
D4450.diff (700 B)

Event Timeline