summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-08 00:08:22 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-08 00:08:22 +0200
commit1efe73d462e027bd9b234154b535a384dd1c55cb (patch)
treea6c721d8a2b0be0659b0f9931e5a7058ed3724da
parentb85bb1cd5c80b94cd76dc80fd5a3c58699d95346 (diff)
get.pl working
-rwxr-xr-x[-rw-r--r--]get.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/get.pl b/get.pl
index 78f51b0..5648aba 100644..100755
--- a/get.pl
+++ b/get.pl
@@ -15,9 +15,9 @@ sub sanitize ($) {
return $s;
}
-my ($module, $url) = @ARGV;
+my ($module, $s) = @ARGV;
-if (not defined $module || not defined $url || $s !~ /^http/) {
+if (not defined $module || not defined $s || $s !~ /^http/) {
die "usage: ./get.pl pix2pix http://...\n";
}