Skip to content

Commit 6a01179

Browse files
authored
Fix shellcheck issues (getporter#2812)
fixed some issues from https://www.shellcheck.net that were given issues in pipelines using it. Signed-off-by: Mark Jervelund <[email protected]>
1 parent 86d8236 commit 6a01179

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripts/install/install-linux.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ PORTER_VERSION=${PORTER_VERSION:-latest}
1313

1414
echo "Installing porter@$PORTER_VERSION to $PORTER_HOME from $PORTER_MIRROR"
1515

16-
mkdir -p $PORTER_HOME/runtimes
16+
mkdir -p "$PORTER_HOME/runtimes"
1717

18-
curl -fsSLo $PORTER_HOME/porter $PORTER_MIRROR/$PORTER_VERSION/porter-linux-amd64
19-
chmod +x $PORTER_HOME/porter
20-
cp $PORTER_HOME/porter $PORTER_HOME/runtimes/porter-runtime
21-
echo Installed `$PORTER_HOME/porter version`
18+
curl -fsSLo "$PORTER_HOME/porter" "$PORTER_MIRROR/$PORTER_VERSION/porter-linux-amd64"
19+
chmod +x "$PORTER_HOME/porter"
20+
cp "$PORTER_HOME/porter" "$PORTER_HOME/runtimes/porter-runtime"
21+
echo Installed "$("$PORTER_HOME"/porter version)"
2222

23-
$PORTER_HOME/porter mixin install exec --version $PORTER_VERSION
23+
"$PORTER_HOME/porter" mixin install exec --version "$PORTER_VERSION"
2424

2525
echo "Installation complete."
2626
echo "Add porter to your path by adding the following line to your ~/.profile and open a new terminal:"

0 commit comments

Comments
 (0)