Fixed onos-setup-karaf to work on Linux as well as on Darwin (OSX).
Fixed onos-setup-karaf to work on Linux as well as on Darwin (OSX).

Change-Id: I9225dde1bed84380d785559a9b8ae65969cc7f42

LorenzReinhart/ONOSnew,LorenzReinhart/ONOSnew,sdnwiselab/onos,planoAccess/clonedONOS,LorenzReinhart/ONOSnew,chenxiuyang/onos,kkkane/ONOS,Shashikanth-Huawei/bmp,rvhub/onos,opennetworkinglab/onos,gkatsikas/onos,chinghanyu/onos,jinlongliu/onos,maheshraju-Huawei/actn,rvhub/onos,gkatsikas/onos,oplinkoms/onos,chinghanyu/onos,opennetworkinglab/onos,kuujo/onos,jmiserez/onos,opennetworkinglab/onos,osinstom/onos,sonu283304/onos,donNewtonAlpha/onos,oplinkoms/onos,maheshraju-Huawei/actn,castroflavio/onos,Shashikanth-Huawei/bmp,jinlongliu/onos,opennetworkinglab/onos,y-higuchi/onos,sonu283304/onos,jinlongliu/onos,jmiserez/onos,y-higuchi/onos,packet-tracker/onos,packet-tracker/onos,zsh2938/onos,oplinkoms/onos,CNlukai/onos-gerrit-test,oplinkoms/onos,jinlongliu/onos,Shashikanth-Huawei/bmp,mengmoya/onos,opennetworkinglab/onos,zsh2938/onos,donNewtonAlpha/onos,lsinfo3/onos,lsinfo3/onos,rvhub/onos,zsh2938/onos,oeeagle/onos,oeeagle/onos,sdnwiselab/onos,CNlukai/onos-gerrit-test,maheshraju-Huawei/actn,oeeagle/onos,VinodKumarS-Huawei/ietf96yang,oplinkoms/onos,kuujo/onos,VinodKumarS-Huawei/ietf96yang,donNewtonAlpha/onos,gkatsikas/onos,mengmoya/onos,y-higuchi/onos,sonu283304/onos,oplinkoms/onos,castroflavio/onos,castroflavio/onos,castroflavio/onos,zsh2938/onos,oplinkoms/onos,maheshraju-Huawei/actn,osinstom/onos,LorenzReinhart/ONOSnew,kuujo/onos,chenxiuyang/onos,kkkane/ONOS,maheshraju-Huawei/actn,VinodKumarS-Huawei/ietf96yang,opennetworkinglab/onos,chenxiuyang/onos,y-higuchi/onos,jmiserez/onos,osinstom/onos,mengmoya/onos,chenxiuyang/onos,chinghanyu/onos,gkatsikas/onos,donNewtonAlpha/onos,kuujo/onos,sdnwiselab/onos,CNlukai/onos-gerrit-test,VinodKumarS-Huawei/ietf96yang,kuujo/onos,mengmoya/onos,planoAccess/clonedONOS,jmiserez/onos,packet-tracker/onos,chinghanyu/onos,gkatsikas/onos,gkatsikas/onos,sonu283304/onos,lsinfo3/onos,sdnwiselab/onos,osinstom/onos,VinodKumarS-Huawei/ietf96yang,planoAccess/clonedONOS,osinstom/onos,y-higuchi/onos,lsinfo3/onos,rvhub/onos,kuujo/onos,sdnwiselab/onos,Shashikanth-Huawei/bmp,planoAccess/clonedONOS,kkkane/ONOS,LorenzReinhart/ONOSnew,CNlukai/onos-gerrit-test,kuujo/onos,kkkane/ONOS,donNewtonAlpha/onos,Shashikanth-Huawei/bmp,mengmoya/onos,packet-tracker/onos,oeeagle/onos,sdnwiselab/onos