diff options
-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) { |