summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Buildsystem.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-06-29 22:16:56 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-06-29 22:16:56 -0400
commitd8b5ce9376d8ed73ebb74bd1ca206105b06adebd (patch)
tree76dee8f3ee2d58d71c60c05990f1eaf2d101e51b /Debian/Debhelper/Buildsystem.pm
parente1669c2f4bec174ea29725430640bbbca950ff4c (diff)
layout
Diffstat (limited to 'Debian/Debhelper/Buildsystem.pm')
-rw-r--r--Debian/Debhelper/Buildsystem.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/Debian/Debhelper/Buildsystem.pm b/Debian/Debhelper/Buildsystem.pm
index 6eca336f..209f0705 100644
--- a/Debian/Debhelper/Buildsystem.pm
+++ b/Debian/Debhelper/Buildsystem.pm
@@ -186,9 +186,11 @@ sub _rel2rel {
if (File::Spec->file_name_is_absolute($path)) {
return $path;
- } elsif (File::Spec->file_name_is_absolute($base)) {
+ }
+ elsif (File::Spec->file_name_is_absolute($base)) {
return File::Spec->rel2abs($path, $root);
- } else {
+ }
+ else {
return File::Spec->abs2rel(
File::Spec->rel2abs($path, $root),
File::Spec->rel2abs($base, $root)