taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 6bc1a42594e49933114be1e23e405e3f73a2187e
parent 0a75820e34ef4393b8c53870d1f8a86f6f0ab98f
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Sat,  8 Jun 2019 18:24:10 +0200

stricter regex

Diffstat:
Mbin/taler-deployment-shared-data | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/taler-deployment-shared-data b/bin/taler-deployment-shared-data @@ -33,7 +33,7 @@ fi # Check if shared-data/ has the right group (test|demo), # and set the SETGID permission if so. SHARED_DATA_GROUP=$(stat --format "%G" $SHARED_DATA) -if ! echo $SHARED_DATA_GROUP | grep $TALER_CONFIG_ENV; then +if ! echo $SHARED_DATA_GROUP | grep "^$TALER_CONFIG_ENV$"; then echo "$SHARED_DATA has the wrong group ($SHARED_DATA_GROUP), please fix." exit 1 fi