aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt22
1 files changed, 1 insertions, 1 deletions
diff --git a/iurt2 b/iurt2
index 630d567..9e170a7 100755
--- a/iurt2
+++ b/iurt2
@@ -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);