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.
1 parent 849d654 commit 3f0ad10Copy full SHA for 3f0ad10
bin/ctl.sh
@@ -215,7 +215,7 @@ done
215
216
if [[ 0 -eq "${#services[@]}" ]]; then
217
# MacOSX patch, as long as it does not compatible with linux's grep -P
218
- if [[ -x perl ]]; then
+ if command -v perl >/dev/null 2>&1; then
219
service_entries=()
220
221
while IFS= read -r -d '' file; do
bin/updep.sh
@@ -68,7 +68,7 @@ done
68
69
# load services from path if they were not provided by command-line option
70
71
72
73
74
0 commit comments