X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debian%2FDebhelper%2FDh_Lib.pm;h=e0a274a4dd78192fb7893a249a85930cf094a2cf;hb=bf8aa790612fdce15a68b62356d1c06f2c190e0a;hp=7073aa4ec92c29cea395a439a2af3c55d04a3201;hpb=928b13014c9e0cf3ed8352f87e4a83caba0547f3;p=debhelper.git diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 7073aa4..e0a274a 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -533,14 +533,14 @@ sub autoscript { && !compat(5)) { # Add fragments to top so they run in reverse order when removing. complex_doit("echo \"# Automatically added by ".basename($0)."\"> $outfile.new"); - complex_doit("sed '$sed' $infile >> $outfile.new"); + complex_doit("sed \"$sed\" $infile >> $outfile.new"); complex_doit("echo '# End automatically added section' >> $outfile.new"); complex_doit("cat $outfile >> $outfile.new"); complex_doit("mv $outfile.new $outfile"); } else { complex_doit("echo \"# Automatically added by ".basename($0)."\">> $outfile"); - complex_doit("sed '$sed' $infile >> $outfile"); + complex_doit("sed \"$sed\" $infile >> $outfile"); complex_doit("echo '# End automatically added section' >> $outfile"); } }