Skip to content

Commit cedcc72

Browse files
author
Tak
authored
Create ocb
1 parent e1f94ce commit cedcc72

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

ocb

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/env bash
2+
pkg=$1
3+
dnm="$(
4+
cd "$(dirname "$1")"/
5+
pwd
6+
)"
7+
shift;
8+
archive=$1
9+
10+
if [[ $achive="" ]];then archive="flink"; fi
11+
12+
echo $pkg
13+
echo $dnm
14+
echo $archive
15+
echo ==========================
16+
17+
tar -zxvf $dnm/$pkg
18+
echo decompress ... ok
19+
jar -uvf *$achive*.jar com
20+
echo update ... ok
21+
rm -fR com*
22+
echo clean ... ok
23+
echo done.

0 commit comments

Comments
 (0)