]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
more TRAVIS CI fixes
authorAlex Checca <redacted>
Wed, 11 Nov 2015 04:37:13 +0000 (23:37 -0500)
committerAlex Checca <redacted>
Wed, 11 Nov 2015 04:37:13 +0000 (23:37 -0500)
scripts/xdcc_autoget.pl

index 323f6d5ad24dbc162e87466a93fe38c427ebdd1c..c097b1ec5cef375cb88d3fd5137ca3f2f7135713 100644 (file)
@@ -500,7 +500,7 @@ sub ag_parseadd             #parses add arguments for storage
                print FILE $arg . "\n";         #print to file
        }
        close(FILE);
-       copy($file, "/tmp/temp") or croak "COPY FAILED";        #copy to temp file so that duplicate lines [searches/bots] can be removed
+       copy($file, "/tmp/temp");       #copy to temp file so that duplicate lines [searches/bots] can be removed
        unlink "$file";
        open(TEMP, "<", "/tmp/temp");
        open(FILE, ">", $file);
@@ -543,8 +543,8 @@ sub ag_parserem             #parses remove arguments for deletion from file
                close(TEMP);
        }
        close(TEMP2);
-       copy("/tmp/temp2", $file) or croak "COPY FAILED";       #rewrite old file
-       copy($file, "/tmp/temp") or croak "COPY FAILED";
+       copy("/tmp/temp2", $file);      #rewrite old file
+       copy($file, "/tmp/temp");
        unlink "$file";
        open(TEMP, "<", "/tmp/temp");
        open(SEARCHES, ">", $file);
git clone https://git.99rst.org/PROJECT