aboutsummaryrefslogtreecommitdiff
path: root/libreboot
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2019-01-09 23:23:52 -0500
committerAndrew Robbins <contact@andrewrobbins.info>2019-01-09 23:30:21 -0500
commit6c6ade18801c69d94d7cdf85c797c9e8ec95f70a (patch)
tree40785a4a6023efaf57a6f5a65d514cc53246e244 /libreboot
parent9f7c66a4d925a2167886b8fa4e464450a78970b2 (diff)
downloadlibrebootfr-6c6ade18801c69d94d7cdf85c797c9e8ec95f70a.tar.gz
librebootfr-6c6ade18801c69d94d7cdf85c797c9e8ec95f70a.zip
Don't display paths in libreboot_usage() output
Diffstat (limited to 'libreboot')
-rwxr-xr-xlibreboot4
1 files changed, 2 insertions, 2 deletions
diff --git a/libreboot b/libreboot
index 717ac8e9..2f3a3ffe 100755
--- a/libreboot
+++ b/libreboot
@@ -40,7 +40,7 @@ libreboot_usage() {
for target in "$root/$PROJECTS"/*; do
if project_check "$target"; then
- printf '%s\n' " $target"
+ printf '%s\n' " ${target##*/}"
fi
done
@@ -54,7 +54,7 @@ libreboot_usage() {
for target in "$root/$TOOLS"/*; do
if tool_check "$target"; then
- printf '%s\n' " $target"
+ printf '%s\n' " ${target##*/}"
fi
done