function is on target path

NAME [edit section]

is_on_target_path

SYNOPSIS [edit section]

The function is_on_target_path scans for the given filesystem item (file or directory) on the target device's PATH, and if found puts the absolute path of the item into the indicated variable.

EXAMPLES [edit section]

Here are some sample invocations:

ENVIRONMENT and ARGUMENTS [edit section]

RETURN [edit section]

Returns non-zero on error. If the item is found, the full path to the item is returned as the value of the specified variable.

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]