aboutsummaryrefslogtreecommitdiffstats
path: root/relative_me_babe
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-02 06:08:27 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-02 06:08:27 +0000
commitfb950f335d887655d4a0f7b43e6fe5abacd29d18 (patch)
treefad25020a76984959ad5d7b73c74aa419cb88185 /relative_me_babe
parente5538dd316c4dd18212454121adc75ca660d14f1 (diff)
downloadspec-helper-fb950f335d887655d4a0f7b43e6fe5abacd29d18.tar
spec-helper-fb950f335d887655d4a0f7b43e6fe5abacd29d18.tar.gz
spec-helper-fb950f335d887655d4a0f7b43e6fe5abacd29d18.tar.bz2
spec-helper-fb950f335d887655d4a0f7b43e6fe5abacd29d18.tar.xz
spec-helper-fb950f335d887655d4a0f7b43e6fe5abacd29d18.zip
fix missing die() call
unlike other spec_helper's scripts, we failled to report that error :-( this was harmfull since such error would have been caught by other scripts anyway but fixing this is saner
Diffstat (limited to 'relative_me_babe')
-rwxr-xr-xrelative_me_babe2
1 files changed, 1 insertions, 1 deletions
diff --git a/relative_me_babe b/relative_me_babe
index e55b9df..f241487 100755
--- a/relative_me_babe
+++ b/relative_me_babe
@@ -6,7 +6,7 @@
## description: Convert full link to relative links.
my $r=$ENV{RPM_BUILD_ROOT};
-chdir($r) or "Can't cd to $ENV{RPM_BUILD_ROOT}: $!";
+chdir($r) or die "Can't cd to $ENV{RPM_BUILD_ROOT}: $!";
push my @files, split(/\n/, `find -type l 2> /dev/null`);
foreach my $file (@files) {