Skip to content

Commit

Permalink
Fix linter warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
netomi committed Dec 13, 2023
1 parent 7222e3f commit 0fad306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sbin/common/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function setDockerVolumeSuffix() {

# Joins multiple parts to a valid file path for the current OS
function joinPathOS() {
local path=$(echo "/${@}" | tr ' ' / | tr -s /)
local path=$(echo "/${*}" | tr ' ' / | tr -s /)
if [[ "$OSTYPE" == "cygwin" ]] || [[ "$OSTYPE" == "msys" ]]; then
path=$(cygpath -w "${path}")
fi
Expand All @@ -107,7 +107,7 @@ function joinPathOS() {

# Joins multiple parts to a valid file path using slashes
function joinPath() {
local path=$(echo "/${@}" | tr ' ' / | tr -s /)
local path=$(echo "/${*}" | tr ' ' / | tr -s /)
echo "${path}"
}

Expand Down

0 comments on commit 0fad306

Please sign in to comment.