diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-08-06 13:18:22 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-08-06 13:20:26 +1000 |
commit | 0daee297e3c44c00f54d2be15f13eabdddc6b62f (patch) | |
tree | 073f0391ffef8f2416128de6dd7efe761184cf0e /sync-all | |
parent | 9082111dcdbad7d161ecb0a08bb467f6c62e0a1b (diff) | |
download | haskell-0daee297e3c44c00f54d2be15f13eabdddc6b62f.tar.gz |
sync-all : Replace '~~' operator with something supported by older Perl.
Diffstat (limited to 'sync-all')
-rwxr-xr-x | sync-all | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -901,7 +901,8 @@ sub main { } BEGIN { - if ("pull" ~~ @ARGV) { + my %argvHash = map { $_, 1 } @ARGV; + if ($argvHash {"pull"}) { checkCurrentBranchIsMaster(); } $initial_working_directory = getcwd(); |