We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
c
1 parent af3bcb5 commit 906ec30Copy full SHA for 906ec30
bin/c
@@ -102,6 +102,10 @@ done
102
103
readonly keep_eol quiet target_command
104
105
+if ((${#target_command[@]} > 0)) && ! which "${target_command[0]}" &>/dev/null; then
106
+ die "command '${target_command[0]}' not found on PATH"
107
+fi
108
+
109
################################################################################
110
# biz logic
111
0 commit comments