forked from x/ContextOS
opt some
This commit is contained in:
parent
e352d79c58
commit
58cb4cd35d
@ -1,11 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
_down_tar() { # 下载文件 file path
|
|
||||||
[ -f $1 ] && return; _down_big_file "$@" && tar -xf $1
|
|
||||||
}
|
|
||||||
_down_tars() { # 下载文件 file...
|
|
||||||
for file in "$@"; do _down_tar $file publish/$file; done
|
|
||||||
}
|
|
||||||
main() {
|
main() {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
app) # 生产环境
|
app) # 生产环境
|
||||||
|
Loading…
x
Reference in New Issue
Block a user