]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
less noisy find_tool
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 17 Sep 2012 12:32:41 +0000 (12:32 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 17 Sep 2012 12:32:41 +0000 (12:32 +0000)
svn-id: @12583

geninitrd

index 970585fe02dda276ab5643a0c3f4724be5953fc9..808fa21dc24c524956f930e03b2517504c1a650c 100755 (executable)
--- a/geninitrd
+++ b/geninitrd
@@ -99,7 +99,7 @@ find_tool() {
        local x p b n
        local paths="$initrd_dir /bin /sbin /usr/bin /usr/sbin"
        for x in "$@"; do
-               verbose "find_tool: checking $x"
+               debug "find_tool: checking $x"
                if [ -x "$x" ]; then
                        echo $x
                        verbose "find_tool: found $x"
@@ -108,7 +108,7 @@ find_tool() {
                n="$x"
                for p in $paths; do
                        b=$(basename $x)
-                       verbose "find_tool: checking $p/$b"
+                       debug "find_tool: checking $p/$b"
                        if [ -x "$p/$b" ]; then
                                echo $p/$b
                                verbose "find_tool: found $p/$b"
This page took 0.201728 seconds and 4 git commands to generate.