summary refs log tree commit diff
path: root/maintainers
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-12-16 11:37:22 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-12-16 15:38:55 +0100
commit493f633002e4044752a4384e765e41bd850b22ff (patch)
tree9c6c71dd66506b01b4b2d0c7bae4162ee4aa1bab /maintainers
parente7ae72cfb120fa1b92c45d044933b92e780ec0c1 (diff)
downloadnixpkgs-493f633002e4044752a4384e765e41bd850b22ff.tar
nixpkgs-493f633002e4044752a4384e765e41bd850b22ff.tar.gz
nixpkgs-493f633002e4044752a4384e765e41bd850b22ff.tar.bz2
nixpkgs-493f633002e4044752a4384e765e41bd850b22ff.tar.lz
nixpkgs-493f633002e4044752a4384e765e41bd850b22ff.tar.xz
nixpkgs-493f633002e4044752a4384e765e41bd850b22ff.tar.zst
nixpkgs-493f633002e4044752a4384e765e41bd850b22ff.zip
Die tabs die
Diffstat (limited to 'maintainers')
-rwxr-xr-xmaintainers/scripts/copy-tarballs.pl22
1 files changed, 11 insertions, 11 deletions
diff --git a/maintainers/scripts/copy-tarballs.pl b/maintainers/scripts/copy-tarballs.pl
index d0b4afd8774..08a8638e25a 100755
--- a/maintainers/scripts/copy-tarballs.pl
+++ b/maintainers/scripts/copy-tarballs.pl
@@ -74,17 +74,17 @@ my $op = shift @ARGV;
 if ($op eq "--file") {
     my $res = 0;
     foreach my $fn (@ARGV) {
-	eval {
-	    if (alreadyMirrored("sha512", hashFile("sha512", 0, $fn))) {
-		print STDERR "$fn is already mirrored\n";
-	    } else {
-		uploadFile($fn, basename $fn);
-	    }
-	};
-	if ($@) {
-	    warn "$@\n";
-	    $res = 1;
-	}
+        eval {
+            if (alreadyMirrored("sha512", hashFile("sha512", 0, $fn))) {
+                print STDERR "$fn is already mirrored\n";
+            } else {
+                uploadFile($fn, basename $fn);
+            }
+        };
+        if ($@) {
+            warn "$@\n";
+            $res = 1;
+        }
     }
     exit $res;
 }