Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv20356
Modified Files:
ChangeLog VirtPackage.pm
Log Message:
make sure /usr/bin/machine is an executable before we call it
Index: VirtPackage.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/VirtPackage.pm,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- VirtPackage.pm 20 Jul 2006 02:39:10 -0000 1.107
+++ VirtPackage.pm 20 Jul 2006 15:20:17 -0000 1.108
@@ -165,9 +165,14 @@
=cut
+my $cpu;
print STDERR "- checking for 64bit-cpu... cpu type is " if ($options{debug});
- my $cpu = `/usr/bin/machine`;
+if (-x "/usr/bin/machine") {
+ $cpu = `/usr/bin/machine`;
chomp $cpu;
+} else {
+ $cpu = "unknown";
+}
print STDERR "$cpu..." if ($options{debug});
# possible values seem to be:
# ppc750 (G3, not 64bit capable)
Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1352
retrieving revision 1.1353
diff -u -d -r1.1352 -r1.1353
--- ChangeLog 20 Jul 2006 02:39:10 -0000 1.1352
+++ ChangeLog 20 Jul 2006 15:20:13 -0000 1.1353
@@ -1,3 +1,8 @@
+2006-07-20 Dave Morrison <[EMAIL PROTECTED]>
+
+ * VirtPackage.pm: make sure /usr/bin/machine is an executable before
+ we call it
+
2006-07-19 Dave Morrison <[EMAIL PROTECTED]>
* VirtPackage.pm: new virtual package "64bit-cpu"
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits