]> git.donarmstrong.com Git - debhelper.git/blobdiff - Debian/Debhelper/Dh_Lib.pm
comment typo
[debhelper.git] / Debian / Debhelper / Dh_Lib.pm
index 7073aa4ec92c29cea395a439a2af3c55d04a3201..10ae69f7babd6e85985e27a4a9bbf247b3d79277 100644 (file)
@@ -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");
        }
 }
@@ -618,7 +618,7 @@ sub filedoublearray {
        my $file=shift;
        my $globdir=shift;
 
-       # executable confi files are a v9 thing.
+       # executable config files are a v9 thing.
        my $x=! compat(8) && -x $file;
        if ($x) {
                require Cwd;