Skip to content

Commit fde37e2

Browse files
committed
Script exits before setting ENV in docker-compose
1 parent c7b41b1 commit fde37e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/fixconfigs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ echo "Copying docker-compose.yml from $RG_SRC to $RG_HOME"
154154
# trunk-ignore(shellcheck/SC2016)
155155
repcmd='s#\${PWD}#'$RG_HOME'#'
156156
sed -e "$repcmd" "$RG_SRC/docker-compose.yml" >"$RG_HOME/docker-compose.yml"
157-
cd $RG_HOME || echo "Could not cd to $RG_HOME" && exit 1
157+
cd $RG_HOME || exit 1
158158
if [ -f docker-compose.yml ]; then
159159
echo "docker-compose.yml exists"
160160
sed -i -e "s/REDIS_HOST.*/REDIS_HOST=$myip/" docker-compose.yml

0 commit comments

Comments
 (0)