From 2777c3fd5e67007bb7535eb79d830bbdccf7b991 Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Sun, 19 Jun 2016 09:06:24 -0400 Subject: [PATCH] Fix debug to correctly display %-including values --- aurget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurget b/aurget index e30d63a..d3eb1a1 100755 --- a/aurget +++ b/aurget @@ -74,7 +74,7 @@ warn() { printf "${colorY}warning:$nocolor $*\n" >&2; } error() { printf "${colorR}error:$nocolor $*\n" >&2; } debug() { - $debug && printf "$colorW[${colorC}DEBUG$colorW]$nocolor $*\n" >&2 + $debug && printf "$colorW[${colorC}DEBUG$colorW]$nocolor ${*//%/%%}\n" >&2 } # thanks Irm