Signed-off-by: Allan McRae <[EMAIL PROTECTED]>
---
 scripts/makepkg.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 4edb967..3d1430f 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1216,7 +1216,7 @@ if [ "$CLEANCACHE" = "1" ]; then
                echo -n "$(gettext "    Are you sure you wish to do this? [Y/n] 
")"
                read answer
                answer=$(echo $answer | tr '[:upper:]' '[:lower:]')
-               if [ "$answer" = "yes" -o "$answer" = "y" ]; then
+               if [ "$answer" = "$(gettext "yes")" -o "$answer" = "$(gettext 
"y")" ]; then
                        rm "$SRCDEST"/*
                        if [ $? -ne 0 ]; then
                                error "$(gettext "Problem removing files; you 
may not have correct permissions in %s")" "$SRCDEST"
-- 
1.5.6.3


_______________________________________________
pacman-dev mailing list
[email protected]
http://archlinux.org/mailman/listinfo/pacman-dev

Reply via email to