diff options
author | Claudio Matsuoka <claudio@mandriva.com> | 2006-12-04 20:54:29 +0000 |
---|---|---|
committer | Claudio Matsuoka <claudio@mandriva.com> | 2006-12-04 20:54:29 +0000 |
commit | 4bbb738682ea67070163e72e6fba1a51e18cf5d2 (patch) | |
tree | 576a88a5d21053a208e1ca98a4245bd1672284b4 | |
parent | b6b898a159b934805e846975244143a1b8854e73 (diff) | |
download | iurt-4bbb738682ea67070163e72e6fba1a51e18cf5d2.tar iurt-4bbb738682ea67070163e72e6fba1a51e18cf5d2.tar.gz iurt-4bbb738682ea67070163e72e6fba1a51e18cf5d2.tar.bz2 iurt-4bbb738682ea67070163e72e6fba1a51e18cf5d2.tar.xz iurt-4bbb738682ea67070163e72e6fba1a51e18cf5d2.zip |
Fix relative path handling (again)
Now iurt should handle all relative and absolute path cases correctly.
-rwxr-xr-x | iurt2 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ $run{todo} = []; die "FATAL $program_name: $_ not a file or cannot be read\n"; } - if (m,(.*/)([^/]*\.src\.rpm)$,) { + if (m,^(/.*/)([^/]*\.src\.rpm)$,) { ($path, $srpm) = ($1, $2); } elsif (m,([^/]*\.src\.rpm)$,) { ($path, $srpm) = (`pwd`, $1); |