bin/brew: use a function to avoid issues.
bin/brew: use a function to avoid issues.

Otherwise when `bin/brew` is updated in-place Bash will carry on from
the offset and this can cause issues.

Thanks to `@UniqMartin` for pointing this out.

nandub/homebrew,benjaminfrank/homebrew,jarrettmeyer/homebrew,BrewTestBot/homebrew,influxdb/homebrew,thinker0/homebrew,recruit-tech/homebrew,utzig/homebrew,LinusU/homebrew,Linuxbrew/linuxbrew,scorphus/homebrew,theeternalsw0rd/homebrew,ilovezfs/homebrew,sometimesfood/homebrew,AlexejK/homebrew,SuperNEMO-DBD/cadfaelbrew,ear/homebrew,adamliter/homebrew,apjanke/homebrew,afh/homebrew,elgertam/homebrew,sferik/homebrew,skatsuta/homebrew,Linuxbrew/linuxbrew,BrewTestBot/homebrew,sjackman/linuxbrew,danieroux/homebrew,bigbes/homebrew,mobileoverlord/homebrew-1,benjaminfrank/homebrew,feelpp/homebrew,elgertam/homebrew,reelsense/linuxbrew,gicmo/homebrew,ablyler/homebrew,dutchcoders/homebrew,retrography/homebrew,kenips/homebrew,marcwebbie/homebrew,marcwebbie/homebrew,royhodgman/homebrew,TaylorMonacelli/homebrew,totalvoidness/homebrew,kenips/homebrew,Red54/homebrew,emcrisostomo/homebrew,tutumcloud/homebrew,cprecioso/homebrew,MoSal/homebrew,georgschoelly/homebrew,tutumcloud/homebrew,recruit-tech/homebrew,jamer/homebrew,optikfluffel/homebrew,skatsuta/homebrew,sakra/homebrew,alebcay/homebrew,dickeyxxx/homebrew,utzig/homebrew,keith/homebrew,jarrettmeyer/homebrew,liamstask/homebrew,AlexejK/homebrew,vigo/homebrew,treyharris/homebrew,tschoonj/homebrew,gnubila-france/linuxbrew,skinny-framework/homebrew,scpeters/homebrew,slyphon/homebrew,scpeters/homebrew,dalanmiller/homebrew,lrascao/homebrew,Red54/homebrew,yazuuchi/homebrew,marcwebbie/homebrew,slyphon/homebrew,MartinDelille/homebrew,MartinDelille/homebrew,sjackman/linuxbrew,Homebrew/linuxbrew,quantumsteve/homebrew,getgauge/homebrew,MartinDelille/homebrew,Asuranceturix/homebrew,recruit-tech/homebrew,yazuuchi/homebrew,adamliter/homebrew,filcab/homebrew,scpeters/homebrew,influxdb/homebrew,cscetbon/homebrew,SuperNEMO-DBD/cadfaelbrew,DoomHammer/linuxbrew,slyphon/homebrew,cosmo0920/homebrew,TaylorMonacelli/homebrew,muellermartin/homebrew,emcrisostomo/homebrew,jamer/homebrew,totalvoidness/homebrew,drewwells/homebrew,drewwells/homebrew,BrewTestBot/homebrew,OJFord/homebrew,bigbes/homebrew,esamson/homebrew,hakamadare/homebrew,scorphus/homebrew,michaKFromParis/homebrew-sparks,benjaminfrank/homebrew,Angeldude/linuxbrew,yazuuchi/homebrew,influxdata/homebrew,utzig/homebrew,Angeldude/linuxbrew,Angeldude/linuxbrew,ear/homebrew,eighthave/homebrew,brunchboy/homebrew,DoomHammer/linuxbrew,emcrisostomo/homebrew,cprecioso/homebrew,optikfluffel/homebrew,youtux/homebrew,Angeldude/linuxbrew,keith/homebrew,skatsuta/homebrew,ybott/homebrew,esamson/homebrew,lrascao/homebrew,Chilledheart/homebrew,liamstask/homebrew,frodeaa/homebrew,danieroux/homebrew,polishgeeks/homebrew,SuperNEMO-DBD/cadfaelbrew,keith/homebrew,vigo/homebrew,mkrapp/homebrew,deorth/homebrew,muellermartin/homebrew,iostat/homebrew2,sjackman/linuxbrew,jamer/homebrew,MoSal/homebrew,esamson/homebrew,jarrettmeyer/homebrew,cscetbon/homebrew,esamson/homebrew,osimola/homebrew,Chilledheart/homebrew,gnubila-france/linuxbrew,pcottle/homebrew,ybott/homebrew,iostat/homebrew2,scpeters/homebrew,feelpp/homebrew,saketkc/linuxbrew,vigo/homebrew,optikfluffel/homebrew,joshfriend/homebrew,jarrettmeyer/homebrew,ralic/homebrew,Red54/homebrew,recruit-tech/homebrew,josa42/homebrew,kevinastone/homebrew,redpen-cc/homebrew,decors/homebrew,3van/homebrew,drewwells/homebrew,gnubila-france/linuxbrew,sometimesfood/homebrew,mkrapp/homebrew,brunchboy/homebrew,royhodgman/homebrew,youtux/homebrew,ralic/homebrew,sjackman/linuxbrew,MoSal/homebrew,drewwells/homebrew,johanhammar/homebrew,slyphon/homebrew,ryanfb/homebrew,quantumsteve/homebrew,gawbul/homebrew,georgschoelly/homebrew,georgschoelly/homebrew,elyscape/homebrew,saketkc/linuxbrew,georgschoelly/homebrew,reelsense/homebrew,MoSal/homebrew,bukzor/linuxbrew,menivaitsi/homebrew,decors/homebrew,DoomHammer/linuxbrew,theeternalsw0rd/homebrew,skinny-framework/homebrew,drbenmorgan/linuxbrew,scorphus/homebrew,treyharris/homebrew,mobileoverlord/homebrew-1,3van/homebrew,cosmo0920/homebrew,haihappen/homebrew,3van/homebrew,mobileoverlord/homebrew-1,kenips/homebrew,gawbul/homebrew,OJFord/homebrew,hakamadare/homebrew,apjanke/homebrew,AlexejK/homebrew,SuperNEMO-DBD/cadfaelbrew,dongcarl/homebrew,elyscape/homebrew,keith/homebrew,cprecioso/homebrew,bigbes/homebrew,menivaitsi/homebrew,quantumsteve/homebrew,danieroux/homebrew,getgauge/homebrew,gicmo/homebrew,LinusU/homebrew,ralic/homebrew,nandub/homebrew,dplarson/homebrew,ebouaziz/linuxbrew,yumitsu/homebrew,elgertam/homebrew,dplarson/homebrew,skinny-framework/homebrew,galaxy001/homebrew,brunchboy/homebrew,kevinastone/homebrew,apjanke/homebrew,optikfluffel/homebrew,frodeaa/homebrew,polishgeeks/homebrew,bukzor/linuxbrew,frodeaa/homebrew,brunchboy/homebrew,dericed/homebrew,ablyler/homebrew,jsjohnst/homebrew,base10/homebrew,Homebrew/homebrew,deorth/homebrew,sakra/homebrew,hakamadare/homebrew,ryanfb/homebrew,booi/homebrew,retrography/homebrew,kodabb/homebrew,joshfriend/homebrew,Homebrew/linuxbrew,dericed/homebrew,dplarson/homebrew,utzig/homebrew,booi/homebrew,iostat/homebrew2,ExtremeMan/homebrew,BrewTestBot/homebrew,3van/homebrew,ilovezfs/homebrew,ilovezfs/homebrew,cscetbon/homebrew,bukzor/linuxbrew,Red54/homebrew,OJFord/homebrew,influxdata/homebrew,cprecioso/homebrew,reelsense/homebrew,liamstask/homebrew,johanhammar/homebrew,sakra/homebrew,chadcatlett/homebrew,influxdb/homebrew,hanxue/homebrew,kodabb/homebrew,theeternalsw0rd/homebrew,iostat/homebrew2,scorphus/homebrew,yazuuchi/homebrew,elyscape/homebrew,TaylorMonacelli/homebrew,totalvoidness/homebrew,muellermartin/homebrew,vigo/homebrew,gawbul/homebrew,LinusU/homebrew,alebcay/homebrew,base10/homebrew,eighthave/homebrew,ExtremeMan/homebrew,saketkc/linuxbrew,gicmo/homebrew,elgertam/homebrew,deorth/homebrew,chadcatlett/homebrew,reelsense/linuxbrew,ExtremeMan/homebrew,saketkc/linuxbrew,dickeyxxx/homebrew,ear/homebrew,Chilledheart/homebrew,ralic/homebrew,dplarson/homebrew,dutchcoders/homebrew,dickeyxxx/homebrew,osimola/homebrew,kodabb/homebrew,pcottle/homebrew,influxdata/homebrew,bukzor/linuxbrew,thinker0/homebrew,sferik/homebrew,yumitsu/homebrew,alebcay/homebrew,gicmo/homebrew,michaKFromParis/homebrew-sparks,gnubila-france/linuxbrew,Asuranceturix/homebrew,osimola/homebrew,youtux/homebrew,jsjohnst/homebrew,sferik/homebrew,kevinastone/homebrew,josa42/homebrew,chadcatlett/homebrew,redpen-cc/homebrew,dunn/homebrew,hakamadare/homebrew,pcottle/homebrew,totalvoidness/homebrew,afh/homebrew,osimola/homebrew,AlexejK/homebrew,tschoonj/homebrew,SteveClement/homebrew,dickeyxxx/homebrew,sometimesfood/homebrew,ExtremeMan/homebrew,nandub/homebrew,michaKFromParis/homebrew-sparks,hongkongkiwi/homebrew,decors/homebrew,haihappen/homebrew,mkrapp/homebrew,hongkongkiwi/homebrew,royhodgman/homebrew,influxdb/homebrew,dunn/homebrew,redpen-cc/homebrew,reelsense/homebrew,hanxue/homebrew,Homebrew/homebrew,pcottle/homebrew,dalanmiller/homebrew,hanxue/homebrew,Linuxbrew/linuxbrew,retrography/homebrew,base10/homebrew,tschoonj/homebrew,drbenmorgan/linuxbrew,dutchcoders/homebrew,menivaitsi/homebrew,dericed/homebrew,menivaitsi/homebrew,afh/homebrew,hanxue/homebrew,ybott/homebrew,johanhammar/homebrew,SteveClement/homebrew,ilovezfs/homebrew,galaxy001/homebrew,dunn/homebrew,dalanmiller/homebrew,kenips/homebrew,treyharris/homebrew,hongkongkiwi/homebrew,booi/homebrew,afh/homebrew,decors/homebrew,mobileoverlord/homebrew-1,muellermartin/homebrew,ebouaziz/linuxbrew,reelsense/linuxbrew,yumitsu/homebrew,eighthave/homebrew,SteveClement/homebrew,eighthave/homebrew,SteveClement/homebrew,skinny-framework/homebrew,jsjohnst/homebrew,Asuranceturix/homebrew,Homebrew/linuxbrew,quantumsteve/homebrew,emcrisostomo/homebrew,galaxy001/homebrew,elyscape/homebrew,kodabb/homebrew,danieroux/homebrew,adamliter/homebrew,ybott/homebrew,ablyler/homebrew,joshfriend/homebrew,influxdata/homebrew,tschoonj/homebrew,SteveClement/homebrew,hongkongkiwi/homebrew,jsjohnst/homebrew,johanhammar/homebrew,sometimesfood/homebrew,redpen-cc/homebrew,haihappen/homebrew,MartinDelille/homebrew,LinusU/homebrew,tutumcloud/homebrew,thinker0/homebrew,youtux/homebrew,feelpp/homebrew,drbenmorgan/linuxbrew,ebouaziz/linuxbrew,drbenmorgan/linuxbrew,Homebrew/linuxbrew,ear/homebrew,cosmo0920/homebrew,marcwebbie/homebrew,Homebrew/homebrew,galaxy001/homebrew,polishgeeks/homebrew,base10/homebrew,feelpp/homebrew,DoomHammer/linuxbrew,ryanfb/homebrew,sakra/homebrew,frodeaa/homebrew,tutumcloud/homebrew,sferik/homebrew,retrography/homebrew,pcottle/homebrew,lrascao/homebrew,cosmo0920/homebrew,apjanke/homebrew,theeternalsw0rd/homebrew,dutchcoders/homebrew,thinker0/homebrew,dalanmiller/homebrew,filcab/homebrew,adamliter/homebrew,kevinastone/homebrew,OJFord/homebrew,dericed/homebrew,dunn/homebrew,alebcay/homebrew,Asuranceturix/homebrew,royhodgman/homebrew,TaylorMonacelli/homebrew,ablyler/homebrew,Chilledheart/homebrew,skatsuta/homebrew,polishgeeks/homebrew,getgauge/homebrew,filcab/homebrew,dongcarl/homebrew,haihappen/homebrew,Asuranceturix/homebrew,ryanfb/homebrew,dongcarl/homebrew,reelsense/linuxbrew,treyharris/homebrew,benjaminfrank/homebrew,bigbes/homebrew,josa42/homebrew,liamstask/homebrew,reelsense/homebrew,Homebrew/homebrew,dongcarl/homebrew,getgauge/homebrew,Linuxbrew/linuxbrew,jamer/homebrew,ebouaziz/linuxbrew,nandub/homebrew,filcab/homebrew