diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-02 06:08:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-02 06:08:27 +0000 |
commit | fb950f335d887655d4a0f7b43e6fe5abacd29d18 (patch) | |
tree | fad25020a76984959ad5d7b73c74aa419cb88185 | |
parent | e5538dd316c4dd18212454121adc75ca660d14f1 (diff) | |
download | spec-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
-rwxr-xr-x | relative_me_babe | 2 |
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) { |