diff --git a/bin/mangohud-setup.sh b/bin/mangohud-setup.sh index 4bb7bf6f..20ee0b5e 100755 --- a/bin/mangohud-setup.sh +++ b/bin/mangohud-setup.sh @@ -4,7 +4,7 @@ SU_CMD=$(command -v sudo || command -v doas) # doas requires a double dash if the command it runs will include any dashes, # so append a double dash to the command -[[ $SU_CMD == *doas ]] && $SU_CMD="$SU_CMD -- " +[[ $SU_CMD == *doas ]] && SU_CMD="$SU_CMD -- " mangohud_usage() { diff --git a/build.sh b/build.sh index dd86c5d1..79929690 100755 --- a/build.sh +++ b/build.sh @@ -12,7 +12,7 @@ SU_CMD=$(command -v sudo || command -v doas) # doas requires a double dash if the command it runs will include any dashes, # so append a double dash to the command -[[ $SU_CMD == *doas ]] && $SU_CMD="$SU_CMD -- " +[[ $SU_CMD == *doas ]] && SU_CMD="$SU_CMD -- " # Correctly identify the os-release file. for os_release in ${OS_RELEASE_FILES[@]} ; do