summaryrefslogtreecommitdiff
path: root/modulemanager
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-11-12 17:33:21 +0000
committerPeter Powell <petpow@saberuk.com>2017-11-12 17:33:21 +0000
commitd23c030c9a8fd58807438245a004e4aa5b7288ba (patch)
treed1207d9f811ba486470ac3869052b0bc2180f758 /modulemanager
parent2b94e7dcc072d923a3f3e8830dab9b45caaea118 (diff)
parent53d822a7d19aded988ee74eb05437e587cb1ac92 (diff)
Merge tag 'v2.0.25' into master.
Diffstat (limited to 'modulemanager')
-rwxr-xr-xmodulemanager4
1 files changed, 2 insertions, 2 deletions
diff --git a/modulemanager b/modulemanager
index 7471dcc77..3e4eee9c9 100755
--- a/modulemanager
+++ b/modulemanager
@@ -73,7 +73,7 @@ sub parse_url {
}
my $mod;
- for (split /\n+/, $response->decoded_content) {
+ for (split /\n+/, $response->content) {
s/^\s+//; # ignore whitespace at start
next if /^#/;
if (/^module (\S+) (\S+) (\S+)/) {
@@ -334,7 +334,7 @@ for my $mod (sort keys %todo) {
if ($response->is_success) {
open(MF, ">src/modules/$mod.cpp") or die "\nFilesystem not writable: $!";
- print MF $response->decoded_content;
+ print MF $response->content;
close(MF);
print " - done\n";
} else {