From 4a8d1e3fda2a772671383ac6f6201a6b97605ac1 Mon Sep 17 00:00:00 2001 From: Mark Rekveld Date: Thu, 24 Sep 2020 08:29:18 +0200 Subject: SQSCANNER-78 - backtick syntax (#83) --- src/main/assembly/bin/sonar-scanner-debug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/assembly/bin/sonar-scanner-debug') diff --git a/src/main/assembly/bin/sonar-scanner-debug b/src/main/assembly/bin/sonar-scanner-debug index 823a1ab..750f813 100755 --- a/src/main/assembly/bin/sonar-scanner-debug +++ b/src/main/assembly/bin/sonar-scanner-debug @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh # # SonarScanner Startup Script for Unix # @@ -11,4 +11,4 @@ SONAR_SCANNER_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend echo "Executing SonarScanner in Debug Mode" echo "SONAR_SCANNER_DEBUG_OPTS=\"-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000\"" -env SONAR_SCANNER_OPTS="$SONAR_SCANNER_OPTS" SONAR_SCANNER_DEBUG_OPTS="$SONAR_SCANNER_DEBUG_OPTS" "$(dirname "$0")"/sonar-scanner "$@" +env SONAR_SCANNER_OPTS="$SONAR_SCANNER_OPTS" SONAR_SCANNER_DEBUG_OPTS="$SONAR_SCANNER_DEBUG_OPTS" "`dirname "$0"`"/sonar-scanner "$@" -- cgit v1.2.3