summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-01-16 08:45:01 +0000
committerChris Wilson <chris+github@qwirx.com>2008-01-16 08:45:01 +0000
commit5d5f7669b05b7bee05c5c0a8ddddd301483c0c19 (patch)
treee40e99f91a6e9517eef70f6d4ecd6ea008c9da41
parent8f4f65e9420002b768534c67be345ab569891edf (diff)
Don't break the name of scripts with no path in install script
(thanks to Guno Heitman for reporting this)
-rwxr-xr-xinfrastructure/makeparcels.pl.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/infrastructure/makeparcels.pl.in b/infrastructure/makeparcels.pl.in
index 0846ef46..b459be95 100755
--- a/infrastructure/makeparcels.pl.in
+++ b/infrastructure/makeparcels.pl.in
@@ -136,8 +136,7 @@ for my $parcel (@parcels)
print MAKE "\tcp $name $dir\n";
}
# remove path from script name
- $name =~ m~/([^/]+)\Z~;
- $name = $1;
+ $name =~ s{.*/}{};
}
unless ($target_windows)