[Box Backup-commit] COMMIT r2034 - box/trunk/infrastructure

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Wed Jan 16 08:45:02 GMT 2008


Author: chris
Date: 2008-01-16 08:45:01 +0000 (Wed, 16 Jan 2008)
New Revision: 2034

Modified:
   box/trunk/infrastructure/makeparcels.pl.in
Log:
Don't break the name of scripts with no path in install script
(thanks to Guno Heitman for reporting this)


Modified: box/trunk/infrastructure/makeparcels.pl.in
===================================================================
--- box/trunk/infrastructure/makeparcels.pl.in	2008-01-14 14:14:48 UTC (rev 2033)
+++ box/trunk/infrastructure/makeparcels.pl.in	2008-01-16 08:45:01 UTC (rev 2034)
@@ -136,8 +136,7 @@
 				print MAKE "\tcp $name $dir\n";
 			}
 			# remove path from script name
-			$name =~ m~/([^/]+)\Z~;
-			$name = $1;
+			$name =~ s{.*/}{};
 		}
 
 		unless ($target_windows)




More information about the Boxbackup-commit mailing list