summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen_ebuild.pl')
-rwxr-xr-xscripts/gen_ebuild.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/gen_ebuild.pl b/scripts/gen_ebuild.pl
index 46ea8f1b5..8d83bc50d 100755
--- a/scripts/gen_ebuild.pl
+++ b/scripts/gen_ebuild.pl
@@ -135,7 +135,9 @@ if ( not defined $release_info->{abstract} ) {
warn "Missing an ABSTRACT";
}
else {
- $fh->say( 'DESCRIPTION=\'' . $release_info->{abstract} . '\'' );
+ my $abstract = $release_info->{abstract};
+ $abstract =~ s/'/'\\''/g; # ' => '\''
+ $fh->say( 'DESCRIPTION=\'' . $abstract . '\'' );
}
my $lics = [];