From 6df0ca9081c562bd0e3278236b48df1e568584b2 Mon Sep 17 00:00:00 2001 From: Jake Morrison Date: Sat, 10 Feb 2024 20:00:18 -0600 Subject: [PATCH] Quote vars in shell --- rel/overlays/bin/start-docker | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rel/overlays/bin/start-docker b/rel/overlays/bin/start-docker index 726bcd2..a1886d4 100755 --- a/rel/overlays/bin/start-docker +++ b/rel/overlays/bin/start-docker @@ -6,7 +6,7 @@ CURDIR=$PWD BINDIR=$(dirname -- "$0") cd "$BINDIR"; BINDIR=$PWD; cd "$CURDIR" -$BINDIR/prod eval 'AbsintheFederationExample.Release.create_repos()' -$BINDIR/prod eval 'AbsintheFederationExample.Release.migrate()' +"$BINDIR/prod" eval 'AbsintheFederationExample.Release.create_repos()' +"$BINDIR/prod" eval 'AbsintheFederationExample.Release.migrate()' -PHX_SERVER=true exec $BINDIR/prod start +PHX_SERVER=true exec "$BINDIR/prod" start