Tar flags
Tar flags

This change makes the flags in the untar command conditional on
whether the binary is actually gzipped.  On Linux (unlike OS X), using
the z flag causes a failure if the file isn't actually gzipped.

sentinelgh/java-buildpack,cdejonge/java-buildpack,bbooth/java-buildpack,hmlingesh/java-buildpack,priyankaSood/java-buildpack,thesrinivas/java-buildpack,thesrinivas/java-buildpack,AlpanaKumari/java-buildpack,bluebreezecf/java-buildpack,roagarwal/java-buildpack-newrelic,rakutentech/java-buildpack,cloudfoundry-community/tomee-buildpack,kyletravis/java-buildpack,davidehringer/java-buildpack,gittify/java-buildpack,mtrocchio/MyCF,bsinno/bic-sp-java-buildpack,sentinelgh/java-buildpack,grigorijk/java-buildpack,gyantcs/kieserver_mvn,mgunter-pivotal/java-buildpack,bluebreezecf/java-buildpack,snaik17/java-buildpack,skysports-digitalmedia/java-buildpack,seakayone/java-buildpack,kodierer3/CF,tkarlsson-pivotal/weblogic-buildpack,pdesgarets/java-buildpack,pivotal-cf/weblogic-buildpack,skysports-digitalmedia/java-buildpack,bluebreezecf/java-buildpack,AlpanaKumari/java-buildpack,joelavalos/java-buildpack,violetagg/tomee-buildpack,priyankaSood/java-buildpack,svenfrauen/java-buildpack,oviboc-hybris/buildpacknorestart,es11558/java-buildpack,mtrocchio/MyCF,cloudfoundry/java-buildpack,cloudfoundry/java-buildpack,nevenc-pivotal/java-buildpack,jhaefele/java-buildpack,chrisumbel/java-buildpack,cloudfoundry-community/tomee-buildpack,krujos/java-buildpack,amulyas/java-buildpack,agairing/java-buildpack,hurleyinnovations/java-buildpack,tom-collings/java-buildpack,na-na/java-buildpack,ariel-bentu/java-buildpack,hurleyinnovations/java-buildpack,mcelrojb58/java-buildpack,qatsi/java-buildpack,mcelrojb58/java-buildpack,nevenc-pivotal/java-buildpack,rsamban/java-buildpack,demo-app/java-buildpack,rakutentech/java-buildpack,sureshkatragadda/java-buildpack,cf-platform-eng/java-buildpack,jhaefele/java-buildpack,jhaefele/java-buildpack,roagarwal/java-buildpack-newrelic,sherbet/java-buildpack,hmlingesh/java-buildpack,trisberg/java-buildpack,kei-yamazaki/java-buildpack,roagarwal/java-buildpack-newrelic,cf-guardian/java-buildpack,dsyer/java-buildpack,john-k-ge/java-buildpack,pivotalservices/oracle-jre-java-buildpack,karthikmob/mobnlp,jghiloni/java-buildpack,waltersve/java-buildpack,davidehringer/java-buildpack,chrisribble/java-buildpack,bbooth/java-buildpack,jiaweizhou/java-buildpack,chrisumbel/java-buildpack,yihyunyi/java-buildpack,na-na/java-buildpack,mpkmtv/java-buildpack,PatrikSteuer/java-buildpack,kaizimmerm/java-buildpack,snaik17/java-buildpack,amulyas/java-buildpack,nkatre/java-buildpack,YannRobert/java-buildpack,es11558/java-buildpack,es11558/java-buildpack,bob-jackson/java-buildpack,violetagg/java-buildpack,leelakranthi/java-buildpack,rhardt-pivotal/sidecar-buildpack,homedepot/cloudfoundry-java-buildpack,bob-jackson/java-buildpack,broec/java-buildpack,leelakranthi/java-buildpack,pivotalservices/oracle-jre-java-buildpack,andrewBrunette/java-buildpack,nishit85/java-buildpack,tspatel02/java-buildpack,BLaurent/java-buildpack,pdesgarets/java-buildpack,skysports-digitalmedia/java-buildpack,dattnguyen82/java-buildpack,peeeto/java-buildpack-cloudfoundry,ajdennis78/java-buildpack,afalak/java-buildpack,leelakranthi/java-buildpack,dixanms/CF-java-buildpack-tests,violetagg/java-buildpack,mpkmtv/java-buildpack,AlpanaKumari/java-buildpack,mulesoft-consulting/mule-cf-java-buildpack,seakayone/java-buildpack,qatsi/java-buildpack,phopper-pivotal/java-buildpack,JagannathLenka/java-buildpack,mulesoft-consulting/anypoint-buildpack,kishoretiwary/kieserver_mvn_prod,pivotal-cf/weblogic-buildpack,sureshkatragadda/java-buildpack,rhardt-pivotal/sidecar-buildpack,Service-Flow/java-buildpack-cloudfoundry,hmlingesh/java-buildpack,ajdennis78/java-buildpack,bbooth/java-buildpack,kodierer3/CF,priyankaSood/java-buildpack,mgunter-pivotal/java-buildpack,cf-guardian/java-buildpack,john-k-ge/java-buildpack,tspatel02/java-buildpack,bluebreezecf/java-buildpack,waltersve/java-buildpack,bbyers-pivotal/java-buildpack,yihyunyi/java-buildpack,Informatthic/weblogic-buildpack,sherbet/java-buildpack,tkarlsson-pivotal/weblogic-buildpack,tfynes-pivotal/java-buildpack,jdeoliveira/mule-cf-java-buildpack,chrisumbel/jboss-buildpack,Informatthic/weblogic-buildpack,kishoretiwary/kieserver_mvn_prod,jiaweizhou/java-buildpack,sherbet/java-buildpack,my3D-Team/java-buildpack,sentinelgh/java-buildpack,agairing/java-buildpack,jdeoliveira/mule-cf-java-buildpack,dixanms/CF-java-buildpack-tests,kaizimmerm/java-buildpack,phopper-pivotal/java-buildpack,stipx/java-buildpack,chrisumbel/jboss-buildpack,SudarsananRengarajan/java-buildpack,sivabalans/java-buildpack,afalak/java-buildpack,kei-yamazaki/java-buildpack,shinji62/liferay-buildpack,leachbj/java-buildpack,pivotal-oscar/java-buildpack,joelavalos/java-buildpack,tfynes-pivotal/java-buildpack,shinji62/liferay-buildpack,willtf/java-buildpack,sivabalans/java-buildpack,kjmd75/java-buildpack,chrisumbel/java-buildpack,pivotal-cf/weblogic-buildpack,priyankaSood/java-buildpack,tkarlsson-pivotal/weblogic-buildpack,kyletravis/java-buildpack,rsamban/java-buildpack,Informatthic/weblogic-buildpack,jiaweizhou/java-buildpack,martinSaad/cfJavaBuildPack_newRelic,shinji62/liferay-buildpack,kaizimmerm/java-buildpack,grigorijk/java-buildpack,pivotal-oscar/java-buildpack,andrewBrunette/java-buildpack,gittify/java-buildpack,ctoestreich/java-buildpack,yihyunyi/java-buildpack,thesrinivas/java-buildpack,andrewBrunette/java-buildpack,dsyer/java-buildpack,jghiloni/java-buildpack,cf-platform-eng/java-buildpack,dixanms/CF-java-buildpack-tests,JagannathLenka/java-buildpack,ajjaskie/java-buildpack,oviboc-hybris/buildpacknorestart,SudarsananRengarajan/java-buildpack,Service-Flow/java-buildpack-cloudfoundry,chrisribble/java-buildpack,SudarsananRengarajan/java-buildpack,tspatel02/java-buildpack,willtf/java-buildpack,peeeto/java-buildpack-cloudfoundry,Appdynamics/java-buildpack,karthikmob/mobnlp,davidehringer/java-buildpack,jghiloni/java-buildpack,na-na/java-buildpack,krujos/java-buildpack,pivotal-cf/weblogic-buildpack,mulesoft-consulting/anypoint-buildpack,snaik17/java-buildpack,pdesgarets/java-buildpack,bbyers-pivotal/java-buildpack,kjmd75/java-buildpack,santoshsrivastava/kieserver_mvn,homedepot/cloudfoundry-java-buildpack,ajdennis78/java-buildpack,lucasreginato/custom-java-buildpack,krujos/java-buildpack,jgawor/java-buildpack,mpkmtv/java-buildpack,ajdennis78/java-buildpack,broec/java-buildpack,JagannathLenka/java-buildpack,bob-jackson/java-buildpack,qatsi/java-buildpack,seakayone/java-buildpack,phopper-pivotal/java-buildpack,jasenbg/jtest,leachbj/java-buildpack,jgawor/java-buildpack,homedepot/cloudfoundry-java-buildpack,BLaurent/java-buildpack,kei-yamazaki/java-buildpack,kyletravis/java-buildpack,andrewBrunette/java-buildpack,broec/java-buildpack,mcelrojb58/java-buildpack,ariel-bentu/java-buildpack,ctoestreich/java-buildpack,tom-collings/jboss-buildpack,hmlingesh/java-buildpack,tom-collings/jboss-buildpack,tkarlsson-pivotal/weblogic-buildpack,YannRobert/java-buildpack,ringgi/java-buildpack,trisberg/java-buildpack,kjmd75/java-buildpack,tom-collings/java-buildpack,ringgi/java-buildpack,kei-yamazaki/java-buildpack,tom-collings/java-buildpack,Appdynamics/java-buildpack,cwstewart/java-buildpack,dave-malone/jboss-buildpack,jiaweizhou/java-buildpack,my3D-Team/java-buildpack,cf-platform-eng/java-buildpack,bbyers-pivotal/java-buildpack,leachbj/java-buildpack,kaizimmerm/java-buildpack,Informatthic/weblogic-buildpack,pivotalservices/oracle-jre-java-buildpack,tspatel02/java-buildpack,SudarsananRengarajan/java-buildpack,bencabanas/hacked_java_buildpack,svenfrauen/java-buildpack,PatrikSteuer/java-buildpack,seakayone/java-buildpack,violetagg/tomee-buildpack,hurleyinnovations/java-buildpack,ctoestreich/java-buildpack,bsinno/bic-sp-java-buildpack,mulesoft-consulting/mule-cf-java-buildpack,ajjaskie/java-buildpack,rsamban/java-buildpack,Altoros/java-buildpack,cwstewart/java-buildpack,cdejonge/java-buildpack,cloudfoundry-community/jboss-buildpack,nevenc-pivotal/java-buildpack,whewatt-pivotal/java-buildpack,agairing/java-buildpack,phopper-pivotal/java-buildpack,dattnguyen82/java-buildpack,gyantcs/kieserver_mvn,kodierer3/CF,santoshsrivastava/kieserver_mvn,grigorijk/java-buildpack,Altoros/java-buildpack,cloudfoundry-community/jboss-buildpack,pivotal-oscar/java-buildpack,nkatre/java-buildpack,chrisumbel/jboss-buildpack,jghiloni/java-buildpack,AlpanaKumari/java-buildpack,sureshkatragadda/java-buildpack,amulyas/java-buildpack,gittify/java-buildpack,PonmaniPandian/java-buildpack,jasenbg/jtest,whewatt-pivotal/java-buildpack,roagarwal/java-buildpack-newrelic,ctoestreich/java-buildpack,mcelrojb58/java-buildpack,bencabanas/hacked_java_buildpack,stipx/java-buildpack,thesrinivas/java-buildpack,cwstewart/java-buildpack,martinSaad/cfJavaBuildPack_newRelic,PonmaniPandian/java-buildpack,pivotal-oscar/java-buildpack,mtrocchio/MyCF,jdeoliveira/mule-cf-java-buildpack,dave-malone/jboss-buildpack,mgunter-pivotal/java-buildpack,demo-app/java-buildpack,ajjaskie/java-buildpack,PonmaniPandian/java-buildpack,trisberg/java-buildpack,oviboc-hybris/buildpacknorestart,ringgi/java-buildpack,bencabanas/hacked_java_buildpack,es11558/java-buildpack,pdesgarets/java-buildpack,ringgi/java-buildpack,dave-malone/jboss-buildpack,lucasreginato/custom-java-buildpack,mulesoft-consulting/mule-cf-java-buildpack,tfynes-pivotal/java-buildpack,nishit85/java-buildpack,whewatt-pivotal/java-buildpack,PonmaniPandian/java-buildpack,JagannathLenka/java-buildpack,snaik17/java-buildpack,nishit85/java-buildpack,mulesoft-consulting/anypoint-buildpack,my3D-Team/java-buildpack