summaryrefslogtreecommitdiffstats
path: root/libcompat
diff options
context:
space:
mode:
authorAndraž Levstik2007-05-11 20:07:16 +0200
committerAndraž Levstik2007-05-11 20:07:16 +0200
commit2d647030586e584778540656a124af6cff6d988a (patch)
tree1d22659e0457970545c39366796077993a427760 /libcompat
parent148cf804b36b083a9dc6e4b1f38933bb6995b681 (diff)
libcompat: added PERL_CPAN_URL
Diffstat (limited to 'libcompat')
-rwxr-xr-xlibcompat5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcompat b/libcompat
index b654e6e7f7..e99926bd7c 100755
--- a/libcompat
+++ b/libcompat
@@ -1,3 +1,6 @@
+# should be removed once bug #13673 and this is all in stable sorcery
+PERL_CPAN_URL=${PERL_CPAN_URL:-http://www.cpan.org}
+
# ignore sub_depends if not supported by sorcery
declare -f sub_depends &> /dev/null ||
{
@@ -65,3 +68,5 @@ function is_depends_enabled() {
fi
grep -q "^[[:space:]]*$1:$2:on" $dep_status
}
+
+