summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-18 16:13:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-18 16:13:37 +0000
commitba5cdf3c84f52dfb6141f61e9134be5fbd2df325 (patch)
tree444ba51f3dabb163fadbccc431b037a577679c0b
parent7d1cf81232189bd1a726842b2947145294e8ce56 (diff)
downloadurpmi-ba5cdf3c84f52dfb6141f61e9134be5fbd2df325.tar
urpmi-ba5cdf3c84f52dfb6141f61e9134be5fbd2df325.tar.gz
urpmi-ba5cdf3c84f52dfb6141f61e9134be5fbd2df325.tar.bz2
urpmi-ba5cdf3c84f52dfb6141f61e9134be5fbd2df325.tar.xz
urpmi-ba5cdf3c84f52dfb6141f61e9134be5fbd2df325.zip
escape ``"'' in message to gmessage
-rwxr-xr-xurpmi1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpmi b/urpmi
index 228af58f..a47e12e5 100755
--- a/urpmi
+++ b/urpmi
@@ -259,6 +259,7 @@ my @sources = $urpm->upload_source_packages($local_sources, $list, 'force_local'
if ($X) {
my $ok = _("Ok");
my $cancel = _("Cancel");
+ $msg =~ s/"/\\"/g;
`gmessage -default $ok -buttons "$ok:0,$cancel:2" "$msg"`;
!$?;
} else {