diff --git a/scripts/check-breaking-changes.sh b/scripts/check-breaking-changes.sh index a8413490974..98e45a20521 100755 --- a/scripts/check-breaking-changes.sh +++ b/scripts/check-breaking-changes.sh @@ -21,10 +21,10 @@ while IFS=" " read -r -a package; do fi # Extract the npm package tarballs into separate directories e.g. ./base/@grafana-data.tgz -> ./base/grafana-data/ - mkdir $PREV - tar -xf ./base/@$PACKAGE_PATH.tgz --strip-components=1 -C $PREV - mkdir $CURRENT - tar -xf ./pr/@$PACKAGE_PATH.tgz --strip-components=1 -C $CURRENT + mkdir "$PREV" + tar -xf "./base/@$PACKAGE_PATH.tgz" --strip-components=1 -C "$PREV" + mkdir "$CURRENT" + tar -xf "./pr/@$PACKAGE_PATH.tgz" --strip-components=1 -C "$CURRENT" # Run the comparison and record the exit code echo "" @@ -52,4 +52,4 @@ echo "::set-output name=is_breaking::$EXIT_CODE" echo "::set-output name=message::$GITHUB_MESSAGE" # We will exit the workflow accordingly at another step -exit 0 \ No newline at end of file +exit 0