From 6c6ade18801c69d94d7cdf85c797c9e8ec95f70a Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Wed, 9 Jan 2019 23:23:52 -0500 Subject: Don't display paths in libreboot_usage() output --- libreboot | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2