分页: 1 / 1
[问题]关于shell脚本的问题
发表于 : 2008-04-07 17:42
由 haozi3
我写了个BESH脚本。但是不知道怎么弄成运行程序,就像.deb那样,直接安装了就可以在SHELL下运行? 怎么弄呢? 就像
http://code.google.com/p/pyfan/wiki/Document 这样?
怎么弄呢?
发表于 : 2008-04-07 17:48
由 yaoms
本论坛有个mm发了一个制作deb包的帖子,搜索阿
发表于 : 2008-04-07 18:27
由 BigSnake.NET
給个例子:
代码: 全选
#! /bin/bash -e
# Hello World shell script
echo 'Hello World!'
exit 0
然后加上可执行权限
发表于 : 2008-04-07 22:07
由 haozi3
懂了哈.谢谢两位.
发表于 : 2008-04-07 22:22
由 eexpress
bash的,还要打包啊。强。
推荐给你一个gzexe。试试吧。
发表于 : 2008-04-07 23:27
由 yxm0513
makeself
通常使用.run .sh .bin