summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/logging.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/logging.bbclass b/meta/classes/logging.bbclass
index 06c7c31c3e..a0c94e98c7 100644
--- a/meta/classes/logging.bbclass
+++ b/meta/classes/logging.bbclass
@@ -86,7 +86,7 @@ bbdebug() {
86 86
87 # Strip off the debug level and ensure it is an integer 87 # Strip off the debug level and ensure it is an integer
88 DBGLVL=$1; shift 88 DBGLVL=$1; shift
89 NONDIGITS=$(echo "$DBGLVL" | tr -d [:digit:]) 89 NONDIGITS=$(echo "$DBGLVL" | tr -d "[:digit:]")
90 if [ "$NONDIGITS" ]; then 90 if [ "$NONDIGITS" ]; then
91 bbfatal "$USAGE" 91 bbfatal "$USAGE"
92 fi 92 fi