`
sunxboy
  • 浏览: 2828712 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

how to call groovy application in linux

 
阅读更多

 

#!/bin/bash
function launch_shell()
{
    $GROOVY_HOME/bin/groovysh -q -Did=grs
}

function shell_main()
{
    launch_shell "$@"
}

[[ $(basename $0) == "gry" ]] && shell_main "$@"

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics