We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7b41b1 commit fde37e2Copy full SHA for fde37e2
1 file changed
scripts/fixconfigs.sh
@@ -154,7 +154,7 @@ echo "Copying docker-compose.yml from $RG_SRC to $RG_HOME"
154
# trunk-ignore(shellcheck/SC2016)
155
repcmd='s#\${PWD}#'$RG_HOME'#'
156
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
+cd $RG_HOME || exit 1
158
if [ -f docker-compose.yml ]; then
159
echo "docker-compose.yml exists"
160
sed -i -e "s/REDIS_HOST.*/REDIS_HOST=$myip/" docker-compose.yml
0 commit comments