mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 07:30:33 +00:00
11 lines
130 B
Bash
Executable File
11 lines
130 B
Bash
Executable File
#!/bin/sh
|
|
[ -z "$1" ] && exit 1
|
|
export IFS=:
|
|
for a in $PATH ; do
|
|
if [ -x "$a/$1" ]; then
|
|
echo "$a/$1"
|
|
exit 0
|
|
fi
|
|
done
|
|
exit 1
|