From 0c043e1ec4e159ca2ab1927dcf36562f8075f9ad Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Mon, 9 Apr 2018 15:15:04 +0100 Subject: [PATCH] Add shebang for updatePlugin --- bin/updatePlugin | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/updatePlugin b/bin/updatePlugin index f6a23bdc..4541580d 100755 --- a/bin/updatePlugin +++ b/bin/updatePlugin @@ -1,3 +1,4 @@ +#!/usr/bin/sh plugin=$(wp plugin list 2> /dev/null | grep available | head -n 1 | awk '{print $1}') echo "$plugin" versions=$(wp plugin update $plugin 2> /dev/null | tail -n 2 | head -n 1 | awk '{print $2 "->" $3}')