projects
/
openwrt
/
staging
/
robimarko.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
scripts: ext-toolchain: add support for info.mk in probe_cc
[openwrt/staging/robimarko.git]
/
scripts
/
command_all.sh
1
#! /bin/sh
2
# SPDX-License-Identifier: GPL-2.0-or-later
3
# Reduced version of which -a using command utility
4
5
case
$PATH
in
6
(*[!:]:)
PATH
=
"
$PATH
:"
;;
7
esac
8
9
for
ELEMENT
in
$
(
echo
$PATH
|
tr
":"
"
\n
"
);
do
10
PATH
=
$ELEMENT
command -v
"$@"
11
done