Update of /cvsroot/fink/scripts/installer/resources
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31733

Modified Files:
        VolumeCheck 
Log Message:
Better console diagnostic for symlink-test failure.
Remove doubled-slash path separator.


Index: VolumeCheck
===================================================================
RCS file: /cvsroot/fink/scripts/installer/resources/VolumeCheck,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- VolumeCheck 1 Jun 2005 02:52:39 -0000       1.5
+++ VolumeCheck 21 Jun 2005 06:49:47 -0000      1.6
@@ -4,7 +4,7 @@
 my $result = 0, $basedir = "/sw";
 my $PACKAGE_PATH = $ENV{PACKAGE_PATH};
 my $TARGET_VOLUME = $ARGV[0];
-my $targetdir = "$TARGET_VOLUME/$basedir";
+my $targetdir = "$TARGET_VOLUME$basedir";
 
 DO_CHECKS:
 {
@@ -21,7 +21,7 @@
        {
            unlink("$targetdir");
        } else {
-           print "Fink Installer: ${TARGET_VOLUME} does not support 
symlinks!\n";
+           print "Fink Installer: ${TARGET_VOLUME} does not support symlinks 
($!)!\n";
            $result = ((1 << 5) | 21);
            last;
        }



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to