develooper Front page | perl.perl5.porters | Postings from November 2003

[PATCH] instmodsh on freebsd4.6

Thread Next
From:
Slaven Rezic
Date:
November 18, 2003 13:47
Subject:
[PATCH] instmodsh on freebsd4.6
Message ID:
873cclgzb1.fsf@vran.herceg.de
The t(ar) command of instmodsh does not work on freebsd4.6. I think
this patch should be more portable:

Regards,
        Slaven

--- bleedperl/lib/ExtUtils/instmodsh	Wed Nov  5 00:05:05 2003
+++ bleedperl2/lib/ExtUtils/instmodsh	Tue Nov 18 22:02:12 2003
@@ -78,7 +78,8 @@ while (1)
             {
             $fh->print(join("\n", $Inst->files($module)));
             $fh->close();
-            system("tar cvf $file -I $tmp");
+            system("tar cvfI $file $tmp");
+	    # or: system("tar -cv -f $file -I $tmp");
             unlink($tmp);
             last CASE;
             }

-- 
Slaven Rezic - slaven@rezic.de

    tktimex - project time manager
    http://sourceforge.net/projects/ptktools/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About