diff --git a/install.sh b/install.sh index 03f5ce9..4c86edd 100755 --- a/install.sh +++ b/install.sh @@ -88,7 +88,7 @@ unzip -q "${FILE}.zip" # Add databricks to path. chmod +x ./databricks cp ./databricks "$TARGET" -echo "Installed $($TARGET/databricks -v) at $TARGET/databricks." +echo "Installed $("$TARGET/databricks" -v) at $TARGET/databricks." # Clean up temporary directory. cd "$OLDPWD" diff --git a/setup_release.sh b/setup_release.sh index c1a38cd..450a502 100644 --- a/setup_release.sh +++ b/setup_release.sh @@ -9,7 +9,7 @@ fi # Pull latest version from VERSION file if not set. if [ -z "${VERSION:-}" ]; then - VERSION=$(cat $(dirname "$0")/VERSION) + VERSION=$(cat "$(dirname "$0")"/VERSION) fi FILE="databricks_cli_$VERSION"