fix path for jar, make sed actually work on OSX
fix path for jar, make sed actually work on OSX

Author: Nick Lanham <nick@afternight.org>

Closes #264 from nicklan/make-distribution-fixes and squashes the following commits:

172b981 [Nick Lanham] fix path for jar, make sed actually work on OSX

publicRoman/spark,brad-kaiser/spark,nilsgrabbert/spark,witgo/spark,kevinyu98/spark,cloud-fan/spark,wangmiao1981/spark,bdrillard/spark,chuckchen/spark,wangmiao1981/spark,andrewor14/spark,hvanhovell/spark,witgo/spark,JoshRosen/spark,pronix/spark,spark-test/spark,hhbyyh/spark,debugger87/spark,ptkool/spark,saltstar/spark,gioenn/xSpark,HyukjinKwon/spark,hhbyyh/spark,ajaysaini725/spark,shuangshuangwang/spark,minixalpha/spark,bOOm-X/spark,loneknightpy/spark,BryanCutler/spark,cin/spark,byakuinss/spark,ConeyLiu/spark,SnappyDataInc/spark,BryanCutler/spark,szhem/spark,kimoonkim/spark,guoxiaolongzte/spark,aokolnychyi/spark,gengliangwang/spark,ptkool/spark,sahilTakiar/spark,ibm-research-ireland/sparkoscope,facaiy/spark,hhbyyh/spark,WindCanDie/spark,someorz/spark,wzhfy/spark,shaneknapp/spark,haowu80s/spark,icexelloss/spark,pgandhi999/spark,andrewor14/spark,kevinyu98/spark,WindCanDie/spark,debugger87/spark,debugger87/spark,ueshin/apache-spark,kimoonkim/spark,guoxiaolongzte/spark,shubhamchopra/spark,brad-kaiser/spark,JerryLead/spark,techaddict/spark,andrewor14/iolap,MLnick/spark,gengliangwang/spark,zero323/spark,HyukjinKwon/spark,cin/spark,SHASHANKB/spark,rezasafi/spark,liyichao/spark,lxsmnv/spark,joseph-torres/spark,wangmiao1981/spark,lvdongr/spark,wangmiao1981/spark,LantaoJin/spark,brad-kaiser/spark,darionyaphet/spark,1haodian/spark,HyukjinKwon/spark,sureshthalamati/spark,facaiy/spark,szhem/spark,aray/spark,huang1900/spark,bravo-zhang/spark,rikima/spark,debugger87/spark,jianran/spark,eyalfa/spark,nlalevee/spark,akopich/spark,hvanhovell/spark,rednaxelafx/apache-spark,mike0sv/spark,adrian-ionescu/apache-spark,MLnick/spark,JerryLead/spark,joseph-torres/spark,pgandhi999/spark,map222/spark,adrian-ionescu/apache-spark,poffuomo/spark,cloud-fan/spark,ahnqirage/spark,ibm-research-ireland/sparkoscope,bravo-zhang/spark,UndeadBaneGitHub/spark,metamx/spark,patrick-nicholson/spark,ericvandenbergfb/spark,guoxiaolongzte/spark,1haodian/spark,lvdongr/spark,HyukjinKwon/spark,ahnqirage/spark,BryanCutler/spark,maropu/spark,lxsmnv/spark,aosagie/spark,nlalevee/spark,HyukjinKwon/spark,markhamstra/spark,mahak/spark,vinodkc/spark,nchammas/spark,skonto/spark,sachintyagi22/spark,vinodkc/spark,nlalevee/spark,stanzhai/spark,eyalfa/spark,tejasapatil/spark,maropu/spark,haowu80s/spark,kiszk/spark,jrshust/spark,witgo/spark,tejasapatil/spark,aokolnychyi/spark,yanboliang/spark,LantaoJin/spark,nlalevee/spark,loneknightpy/spark,srowen/spark,ddna1021/spark,dhruve/spark,wzhfy/spark,rikima/spark,poffuomo/spark,techaddict/spark,aokolnychyi/spark,eyalfa/spark,apache-spark-on-k8s/spark,apache/spark,setjet/spark,srowen/spark,alunarbeach/spark,hhbyyh/spark,esi-mineset/spark,gengliangwang/spark,saltstar/spark,aosagie/spark,saltstar/spark,ron8hu/spark,esi-mineset/spark,liutang123/spark,metamx/spark,dongjoon-hyun/spark,setjet/spark,eyalfa/spark,taroplus/spark,wangyum/spark,gioenn/xSpark,michalsenkyr/spark,ericvandenbergfb/spark,holdenk/spark,dbtsai/spark,1haodian/spark,caneGuy/spark,andrewor14/iolap,jiangxb1987/spark,WindCanDie/spark,jianran/spark,saturday-shi/spark,bOOm-X/spark,SnappyDataInc/spark,aokolnychyi/spark,shuangshuangwang/spark,jiangxb1987/spark,techaddict/spark,minixalpha/spark,JoshRosen/spark,lvdongr/spark,milliman/spark,holdenk/spark,map222/spark,facaiy/spark,debugger87/spark,andrewor14/spark,kiszk/spark,WeichenXu123/spark,WeichenXu123/spark,jlopezmalla/spark,witgo/spark,ibm-research-ireland/sparkoscope,patrick-nicholson/spark,jkbradley/spark,LantaoJin/spark,Aegeaner/spark,JerryLead/spark,zuotingbing/spark,ioana-delaney/spark,taroplus/spark,shaneknapp/spark,aokolnychyi/spark,pgandhi999/spark,akopich/spark,sachintyagi22/spark,saltstar/spark,ptkool/spark,sachintyagi22/spark,kimoonkim/spark,jrshust/spark,janewangfb/spark,goldmedal/spark,pgandhi999/spark,saltstar/spark,narahari92/spark,joseph-torres/spark,zero323/spark,highfei2011/spark,icexelloss/spark,srowen/spark,big-pegasus/spark,brad-kaiser/spark,bOOm-X/spark,apache-spark-on-k8s/spark,goldmedal/spark,kiszk/spark,skonto/spark,nilsgrabbert/spark,chuckchen/spark,mzl9039/spark,andrewor14/iolap,JoshRosen/spark,gioenn/xSpark,sachintyagi22/spark,andrewor14/iolap,WeichenXu123/spark,ddna1021/spark,highfei2011/spark,metamx/spark,sureshthalamati/spark,taroplus/spark,wangmiao1981/spark,taroplus/spark,maropu/spark,techaddict/spark,dbtsai/spark,mdespriee/spark,wzhfy/spark,andrewor14/spark,Panos-Bletsos/spark-cost-model-optimizer,gioenn/xSpark,wangyum/spark,highfei2011/spark,vinodkc/spark,pronix/spark,MLnick/spark,pronix/spark,xuanyuanking/spark,wangyum/spark,brad-kaiser/spark,cloud-fan/spark,wzhfy/spark,highfei2011/spark,maropu/spark,janewangfb/spark,caneGuy/spark,milliman/spark,nlalevee/spark,shubhamchopra/spark,lxsmnv/spark,jianran/spark,gengliangwang/spark,spark-test/spark,milliman/spark,techaddict/spark,yanboliang/spark,mike0sv/spark,narahari92/spark,panfengfeng/spark,akopich/spark,panfengfeng/spark,akopich/spark,lxsmnv/spark,zuotingbing/spark,ron8hu/spark,jlopezmalla/spark,eyalfa/spark,janewangfb/spark,panfengfeng/spark,haowu80s/spark,dhruve/spark,aokolnychyi/spark,ericvandenbergfb/spark,dbtsai/spark,byakuinss/spark,aosagie/spark,pgandhi999/spark,narahari92/spark,kissmetrics/spark,hvanhovell/spark,hhbyyh/spark,shuangshuangwang/spark,ptkool/spark,patrick-nicholson/spark,aray/spark,publicRoman/spark,ueshin/apache-spark,big-pegasus/spark,darionyaphet/spark,kissmetrics/spark,debugger87/spark,markhamstra/spark,JerryLead/spark,jkbradley/spark,dbtsai/spark,adrian-ionescu/apache-spark,jlopezmalla/spark,aosagie/spark,Panos-Bletsos/spark-cost-model-optimizer,szhem/spark,milliman/spark,andrewor14/spark,szhem/spark,mzl9039/spark,JerryLead/spark,wzhfy/spark,aosagie/spark,shubhamchopra/spark,stanzhai/spark,Aegeaner/spark,Panos-Bletsos/spark-cost-model-optimizer,ajaysaini725/spark,cin/spark,ron8hu/spark,yanboliang/spark,patrick-nicholson/spark,apache/spark,mahak/spark,big-pegasus/spark,ibm-research-ireland/sparkoscope,jianran/spark,andrewor14/iolap,tengpeng/spark,zzcclp/spark,Panos-Bletsos/spark-cost-model-optimizer,sahilTakiar/spark,huang1900/spark,zhouyejoe/spark,darionyaphet/spark,hvanhovell/spark,rednaxelafx/apache-spark,xflin/spark,kimoonkim/spark,metamx/spark,zero323/spark,janewangfb/spark,markhamstra/spark,someorz/spark,WeichenXu123/spark,kiszk/spark,setjet/spark,jiangxb1987/spark,bdrillard/spark,zuotingbing/spark,cloud-fan/spark,tengpeng/spark,guoxiaolongzte/spark,aray/spark,WeichenXu123/spark,narahari92/spark,SHASHANKB/spark,vinodkc/spark,ueshin/apache-spark,liutang123/spark,sachintyagi22/spark,joseph-torres/spark,dhruve/spark,Aegeaner/spark,ahnqirage/spark,jiangxb1987/spark,cin/spark,michalsenkyr/spark,ioana-delaney/spark,wangyum/spark,dhruve/spark,markhamstra/spark,mike0sv/spark,rezasafi/spark,MLnick/spark,lvdongr/spark,haowu80s/spark,michalsenkyr/spark,facaiy/spark,panfengfeng/spark,tejasapatil/spark,SHASHANKB/spark,rekhajoshm/spark,michalsenkyr/spark,hvanhovell/spark,icexelloss/spark,mahak/spark,kevinyu98/spark,rikima/spark,jianran/spark,saturday-shi/spark,adrian-ionescu/apache-spark,liutang123/spark,rednaxelafx/apache-spark,mdespriee/spark,ron8hu/spark,lvdongr/spark,kissmetrics/spark,huang1900/spark,guoxiaolongzte/spark,szhem/spark,pronix/spark,actuaryzhang/spark,someorz/spark,milliman/spark,aray/spark,poffuomo/spark,bdrillard/spark,holdenk/spark,esi-mineset/spark,wangmiao1981/spark,huang1900/spark,caneGuy/spark,saturday-shi/spark,esi-mineset/spark,nlalevee/spark,jrshust/spark,ConeyLiu/spark,jkbradley/spark,ConeyLiu/spark,ptkool/spark,rekhajoshm/spark,bdrillard/spark,lvdongr/spark,saltstar/spark,spark-test/spark,setjet/spark,setjet/spark,zzcclp/spark,map222/spark,xuanyuanking/spark,BryanCutler/spark,taroplus/spark,ron8hu/spark,bravo-zhang/spark,alunarbeach/spark,stanzhai/spark,kissmetrics/spark,apache-spark-on-k8s/spark,JerryLead/spark,mahak/spark,ibm-research-ireland/sparkoscope,milliman/spark,milliman/spark,rikima/spark,darionyaphet/spark,kevinyu98/spark,publicRoman/spark,BryanCutler/spark,sureshthalamati/spark,SHASHANKB/spark,rednaxelafx/apache-spark,mdespriee/spark,JerryLead/spark,spark-test/spark,1haodian/spark,SHASHANKB/spark,skonto/spark,ddna1021/spark,sureshthalamati/spark,taroplus/spark,nilsgrabbert/spark,cin/spark,jiangxb1987/spark,Panos-Bletsos/spark-cost-model-optimizer,dbtsai/spark,vinodkc/spark,sachintyagi22/spark,rezasafi/spark,MLnick/spark,shaneknapp/spark,mzl9039/spark,UndeadBaneGitHub/spark,highfei2011/spark,spark-test/spark,Aegeaner/spark,zzcclp/spark,kissmetrics/spark,liyichao/spark,mzl9039/spark,bdrillard/spark,maropu/spark,metamx/spark,bOOm-X/spark,haowu80s/spark,matthewfranglen/spark,mdespriee/spark,skonto/spark,1haodian/spark,tengpeng/spark,yanboliang/spark,byakuinss/spark,wangyum/spark,goldmedal/spark,1haodian/spark,shubhamchopra/spark,hvanhovell/spark,kiszk/spark,maropu/spark,vinodkc/spark,minixalpha/spark,debugger87/spark,zhouyejoe/spark,bravo-zhang/spark,srowen/spark,pgandhi999/spark,brad-kaiser/spark,map222/spark,liyichao/spark,poffuomo/spark,dhruve/spark,sachintyagi22/spark,sahilTakiar/spark,ron8hu/spark,mahak/spark,dongjoon-hyun/spark,andrewor14/spark,LantaoJin/spark,loneknightpy/spark,BryanCutler/spark,loneknightpy/spark,jlopezmalla/spark,shaneknapp/spark,loneknightpy/spark,SnappyDataInc/spark,brad-kaiser/spark,jiangxb1987/spark,vinodkc/spark,dongjoon-hyun/spark,hvanhovell/spark,byakuinss/spark,holdenk/spark,kiszk/spark,zhouyejoe/spark,shuangshuangwang/spark,esi-mineset/spark,WindCanDie/spark,caneGuy/spark,jkbradley/spark,rekhajoshm/spark,janewangfb/spark,chuckchen/spark,icexelloss/spark,HyukjinKwon/spark,poffuomo/spark,liutang123/spark,setjet/spark,ioana-delaney/spark,publicRoman/spark,alunarbeach/spark,someorz/spark,wzhfy/spark,map222/spark,rezasafi/spark,apache/spark,liutang123/spark,zuotingbing/spark,gengliangwang/spark,apache/spark,ioana-delaney/spark,actuaryzhang/spark,goldmedal/spark,mike0sv/spark,ueshin/apache-spark,liutang123/spark,ConeyLiu/spark,jrshust/spark,ddna1021/spark,skonto/spark,LantaoJin/spark,ajaysaini725/spark,UndeadBaneGitHub/spark,patrick-nicholson/spark,lxsmnv/spark,mzl9039/spark,JoshRosen/spark,srowen/spark,mdespriee/spark,bravo-zhang/spark,alunarbeach/spark,darionyaphet/spark,WeichenXu123/spark,sureshthalamati/spark,saturday-shi/spark,xflin/spark,darionyaphet/spark,chuckchen/spark,actuaryzhang/spark,ConeyLiu/spark,bravo-zhang/spark,metamx/spark,nchammas/spark,apache-spark-on-k8s/spark,janewangfb/spark,alunarbeach/spark,caneGuy/spark,actuaryzhang/spark,zzcclp/spark,SnappyDataInc/spark,xuanyuanking/spark,mzl9039/spark,aosagie/spark,stanzhai/spark,zhouyejoe/spark,jlopezmalla/spark,ajaysaini725/spark,minixalpha/spark,witgo/spark,joseph-torres/spark,goldmedal/spark,byakuinss/spark,holdenk/spark,jlopezmalla/spark,WindCanDie/spark,cloud-fan/spark,zero323/spark,michalsenkyr/spark,sahilTakiar/spark,minixalpha/spark,kissmetrics/spark,tengpeng/spark,xflin/spark,bOOm-X/spark,techaddict/spark,huang1900/spark,ioana-delaney/spark,yanboliang/spark,minixalpha/spark,xflin/spark,xflin/spark,cin/spark,someorz/spark,minixalpha/spark,setjet/spark,BryanCutler/spark,lxsmnv/spark,szhem/spark,stanzhai/spark,cloud-fan/spark,aokolnychyi/spark,jianran/spark,eyalfa/spark,big-pegasus/spark,jianran/spark,shaneknapp/spark,nilsgrabbert/spark,spark-test/spark,ericvandenbergfb/spark,xuanyuanking/spark,dongjoon-hyun/spark,ajaysaini725/spark,mdespriee/spark,xuanyuanking/spark,patrick-nicholson/spark,zero323/spark,poffuomo/spark,zuotingbing/spark,huang1900/spark,saturday-shi/spark,taroplus/spark,markhamstra/spark,wangyum/spark,rikima/spark,bdrillard/spark,pronix/spark,joseph-torres/spark,guoxiaolongzte/spark,tejasapatil/spark,SnappyDataInc/spark,esi-mineset/spark,gioenn/xSpark,patrick-nicholson/spark,shuangshuangwang/spark,someorz/spark,byakuinss/spark,jrshust/spark,liyichao/spark,bravo-zhang/spark,ahnqirage/spark,pgandhi999/spark,aray/spark,mike0sv/spark,big-pegasus/spark,skonto/spark,Panos-Bletsos/spark-cost-model-optimizer,rezasafi/spark,rekhajoshm/spark,gioenn/xSpark,apache/spark,srowen/spark,goldmedal/spark,ConeyLiu/spark,JoshRosen/spark,zero323/spark,andrewor14/iolap,zuotingbing/spark,alunarbeach/spark,map222/spark,dhruve/spark,markhamstra/spark,SHASHANKB/spark,facaiy/spark,markhamstra/spark,jkbradley/spark,yanboliang/spark,mdespriee/spark,akopich/spark,holdenk/spark,HyukjinKwon/spark,shuangshuangwang/spark,zhouyejoe/spark,ueshin/apache-spark,kevinyu98/spark,mahak/spark,tengpeng/spark,SnappyDataInc/spark,nchammas/spark,Aegeaner/spark,eyalfa/spark,nchammas/spark,nilsgrabbert/spark,facaiy/spark,liyichao/spark,MLnick/spark,lxsmnv/spark,kevinyu98/spark,nchammas/spark,ibm-research-ireland/sparkoscope,liyichao/spark,ueshin/apache-spark,zzcclp/spark,rednaxelafx/apache-spark,techaddict/spark,UndeadBaneGitHub/spark,andrewor14/iolap,huang1900/spark,highfei2011/spark,adrian-ionescu/apache-spark,ahnqirage/spark,shubhamchopra/spark,liutang123/spark,narahari92/spark,MLnick/spark,Panos-Bletsos/spark-cost-model-optimizer,map222/spark,tejasapatil/spark,ioana-delaney/spark,SHASHANKB/spark,jlopezmalla/spark,alunarbeach/spark,kevinyu98/spark,UndeadBaneGitHub/spark,panfengfeng/spark,maropu/spark,stanzhai/spark,poffuomo/spark,stanzhai/spark,shaneknapp/spark,adrian-ionescu/apache-spark,jiangxb1987/spark,ptkool/spark,dbtsai/spark,wangmiao1981/spark,ajaysaini725/spark,witgo/spark,someorz/spark,Aegeaner/spark,haowu80s/spark,WindCanDie/spark,mzl9039/spark,dongjoon-hyun/spark,zero323/spark,apache-spark-on-k8s/spark,skonto/spark,ddna1021/spark,byakuinss/spark,tejasapatil/spark,xuanyuanking/spark,ibm-research-ireland/sparkoscope,srowen/spark,mike0sv/spark,mahak/spark,wzhfy/spark,apache/spark,WeichenXu123/spark,gengliangwang/spark,panfengfeng/spark,andrewor14/spark,JoshRosen/spark,dhruve/spark,rednaxelafx/apache-spark,rekhajoshm/spark,LantaoJin/spark,tengpeng/spark,saturday-shi/spark,aray/spark,big-pegasus/spark,bOOm-X/spark,nlalevee/spark,WindCanDie/spark,icexelloss/spark,nilsgrabbert/spark,mike0sv/spark,goldmedal/spark,loneknightpy/spark,actuaryzhang/spark,saturday-shi/spark,rekhajoshm/spark,zuotingbing/spark,chuckchen/spark,kimoonkim/spark,jkbradley/spark,nilsgrabbert/spark,actuaryzhang/spark,sahilTakiar/spark,pronix/spark,rednaxelafx/apache-spark,yanboliang/spark,apache-spark-on-k8s/spark,spark-test/spark,kimoonkim/spark,narahari92/spark,darionyaphet/spark,rikima/spark,cloud-fan/spark,sureshthalamati/spark,shubhamchopra/spark,jrshust/spark,ron8hu/spark,publicRoman/spark,wangyum/spark,ddna1021/spark,chuckchen/spark,JoshRosen/spark,ahnqirage/spark,guoxiaolongzte/spark,hhbyyh/spark,zzcclp/spark,shaneknapp/spark,lvdongr/spark,LantaoJin/spark,rezasafi/spark,cin/spark,SnappyDataInc/spark,aosagie/spark,facaiy/spark,bOOm-X/spark,caneGuy/spark,ddna1021/spark,chuckchen/spark,dongjoon-hyun/spark,dbtsai/spark,zhouyejoe/spark,bdrillard/spark,sahilTakiar/spark,icexelloss/spark,sahilTakiar/spark,big-pegasus/spark,ericvandenbergfb/spark,michalsenkyr/spark,rezasafi/spark,gengliangwang/spark,liyichao/spark,publicRoman/spark,akopich/spark,holdenk/spark,michalsenkyr/spark,dongjoon-hyun/spark,metamx/spark,szhem/spark,xflin/spark,adrian-ionescu/apache-spark,rekhajoshm/spark,nchammas/spark,ConeyLiu/spark,ericvandenbergfb/spark,UndeadBaneGitHub/spark,zhouyejoe/spark,xflin/spark,janewangfb/spark,shubhamchopra/spark,zzcclp/spark,kiszk/spark,ajaysaini725/spark,ahnqirage/spark,ericvandenbergfb/spark,jkbradley/spark,shuangshuangwang/spark,sureshthalamati/spark,kissmetrics/spark,tengpeng/spark,ptkool/spark,nchammas/spark,ueshin/apache-spark,kimoonkim/spark,gioenn/xSpark,narahari92/spark,actuaryzhang/spark,tejasapatil/spark,apache-spark-on-k8s/spark,UndeadBaneGitHub/spark,Aegeaner/spark,aray/spark,publicRoman/spark,1haodian/spark,rikima/spark,panfengfeng/spark,loneknightpy/spark,ioana-delaney/spark,saltstar/spark,caneGuy/spark,witgo/spark,jrshust/spark,apache/spark,joseph-torres/spark,xuanyuanking/spark,akopich/spark,highfei2011/spark,icexelloss/spark,hhbyyh/spark,esi-mineset/spark