diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-01-16 08:45:01 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-01-16 08:45:01 +0000 |
commit | 5d5f7669b05b7bee05c5c0a8ddddd301483c0c19 (patch) | |
tree | e40e99f91a6e9517eef70f6d4ecd6ea008c9da41 /infrastructure/makeparcels.pl.in | |
parent | 8f4f65e9420002b768534c67be345ab569891edf (diff) |
Don't break the name of scripts with no path in install script
(thanks to Guno Heitman for reporting this)
Diffstat (limited to 'infrastructure/makeparcels.pl.in')
-rwxr-xr-x | infrastructure/makeparcels.pl.in | 3 |
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) |