Skip to content

Commit

Permalink
use double quotes around variables in bash (open-telemetry#2422)
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored Dec 28, 2022
1 parent e7e766d commit 8439075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/buildscripts/packaging/fpm/deb/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
set -euxo pipefail

SCRIPT_DIR="$( cd "$( dirname ${BASH_SOURCE[0]} )" && pwd )"
. $SCRIPT_DIR/../common.sh
. "$SCRIPT_DIR"/../common.sh

VERSION="${1:-}"
ARCH="${2:-amd64}"
Expand All @@ -30,7 +30,7 @@ fi
VERSION="${VERSION#v}"

if [[ -z "$SMART_AGENT_RELEASE" ]]; then
SMART_AGENT_RELEASE="$(cat $SMART_AGENT_RELEASE_PATH)"
SMART_AGENT_RELEASE="$(cat "$SMART_AGENT_RELEASE_PATH")"
fi

otelcol_path="$REPO_DIR/bin/otelcol_linux_${ARCH}"
Expand Down

0 comments on commit 8439075

Please sign in to comment.