Add'l CI/git script tweaks, fixes
This commit is contained in:
parent
f62578efec
commit
6dd054895b
4 changed files with 6 additions and 9 deletions
|
|
@ -20,8 +20,7 @@ case "$1" in
|
|||
;;
|
||||
esac
|
||||
|
||||
which awk >/dev/null && AWK=awk
|
||||
which gawk >/dev/null && AWK=gawk
|
||||
AWK=$(which gawk || which awk)
|
||||
|
||||
REMOTES=$(git remote -v | egrep "\t$MATCH" | "$AWK" '{print $1 " " $2}' | sort -u | sed "s/$FORMULA/")
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,7 @@
|
|||
# Great way to clean up your branches after messing around a lot
|
||||
#
|
||||
|
||||
which awk >/dev/null && AWK=awk
|
||||
which gawk >/dev/null && AWK=gawk
|
||||
AWK=$(which gawk || which awk)
|
||||
|
||||
KEEP="RC|RCBugFix|dev|master|bugfix-1|bugfix-2"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue