]> git.ipfire.org Git - thirdparty/grsecurity-scrape.git/blobdiff - scrape.pl
Auto commit, 1 new patch{es}.
[thirdparty/grsecurity-scrape.git] / scrape.pl
index 3b440657598688817851e8acbfb9cfb3a0d9c401..c146153ab510135fd290b429c1f7ace0dd21b55e 100755 (executable)
--- a/scrape.pl
+++ b/scrape.pl
@@ -8,8 +8,8 @@ use File::Basename 'dirname', 'basename';
 use Cwd 'abs_path';
 
 my $script_dir = abs_path(dirname(__FILE__));
-
-my $feed_raw = get("https://grsecurity.net/testing_rss.php");
+chdir($script_dir);
+my $feed_raw = get("http://grsecurity.net/testing_rss.php");
 
 my $feed = XMLin($feed_raw, ForceArray => ['item']);
 my $filename;
@@ -28,7 +28,7 @@ for(@{$feed->{channel}->{item}}) {
 }
 if ($new_patches) {
        print("Downloading changelog-test.txt ...\n");
-       getstore("https://grsecurity.net/changelog-test.txt", $script_dir . "/test/changelog-test.txt");
+       getstore("http://grsecurity.net/changelog-test.txt", $script_dir . "/test/changelog-test.txt");
        
        system("git", "add", $script_dir . "/test/" . $filename, $script_dir . "/test/changelog-test.txt", $script_dir . "/test/" . $filename . ".sig");
        system("git", "commit", "-a", "-m", "Auto commit, " . $new_patches . " new patch{es}.");