aboutsummaryrefslogtreecommitdiffstats
path: root/gendistrib
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-22 11:12:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-22 11:12:19 +0000
commit3b6cfdabe33bd759cf145340beee22ebfe91c162 (patch)
treef503537114a487fc4a7ba74468e31f8c08b67744 /gendistrib
parent61b63c67ceba636941925079b0d5d8ff7b975ed5 (diff)
downloadrpmtools-3b6cfdabe33bd759cf145340beee22ebfe91c162.tar
rpmtools-3b6cfdabe33bd759cf145340beee22ebfe91c162.tar.gz
rpmtools-3b6cfdabe33bd759cf145340beee22ebfe91c162.tar.bz2
rpmtools-3b6cfdabe33bd759cf145340beee22ebfe91c162.tar.xz
rpmtools-3b6cfdabe33bd759cf145340beee22ebfe91c162.zip
allow relative_symlink() to work an relative file names (useful for "gendistrib .")
Diffstat (limited to 'gendistrib')
-rwxr-xr-xgendistrib1
1 files changed, 0 insertions, 1 deletions
diff --git a/gendistrib b/gendistrib
index 9933ace..e469e95 100755
--- a/gendistrib
+++ b/gendistrib
@@ -228,7 +228,6 @@ sub relative_symlink {
foreach ($src, $dest) {
s!//!/!g;
s!/\./!/!g;
- m!^/! or die "relative_symlink: $_ is not an absolute filename";
}
my @src = split('/', $src);