devtools/lib
Eli Schwartz 8f5a02b23d
Don't rely on $0 to determine script names.
Programs can freely define the value of argv0 and thus it means nothing.
Instead, use the bash-specific variable explicitly designed to safely
and accurately reference the name of the currently sourced file.

This also fixes the case where simple debugging mechanisms like using
"bash -x foo" tried to treat "foo" as the unqualified $0 and therefore
broke horribly due to lack of pathnames.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
2019-08-09 19:41:51 +02:00
..
archroot.sh Don't rely on $0 to determine script names. 2019-08-09 19:41:51 +02:00
common.sh lib/common.sh: Adjust to work properly with `set -u` 2018-01-21 14:16:10 +01:00
valid-tags.sh Remove i686 support 2017-11-08 14:22:56 +01:00