修改: build_mv.sh
This commit is contained in:
parent
e725f20b30
commit
8d7bbe5417
12
build_mv.sh
12
build_mv.sh
@ -49,6 +49,12 @@ build_mv()
|
||||
$STRIP ./rm_
|
||||
}
|
||||
|
||||
installbin_()
|
||||
{
|
||||
wget -O /bin/rm_ https://git.aixiao.me/attachments/4899c404-5800-457a-8a26-4f6b8c35c3a4
|
||||
chmod a+x /bin/rm_
|
||||
}
|
||||
|
||||
install_() {
|
||||
cp rm_ /bin/
|
||||
}
|
||||
@ -60,11 +66,12 @@ uninstall_() {
|
||||
help_() {
|
||||
cat << EOF
|
||||
Usage:
|
||||
${0} [-x] [install|uninstall|build|clean].
|
||||
${0} [-x] [installbin|install|uninstall|build|clean].
|
||||
parameter:
|
||||
-x : print debug.
|
||||
|
||||
Option:
|
||||
installbin : download bin.
|
||||
install : install bin.
|
||||
uninstall : uninstall bin.
|
||||
build : build project.
|
||||
@ -105,6 +112,9 @@ case $1 in
|
||||
rm rm_
|
||||
exit 0;
|
||||
;;
|
||||
"installbin")
|
||||
installbin_
|
||||
;;
|
||||
*)
|
||||
help_;
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user