12 lines
169 B
Bash
Executable file
12 lines
169 B
Bash
Executable file
#!/bin/sh
|
|
case $# in
|
|
0) ar ru /user0/bot/lib/lib2.a *.o
|
|
ranlib /user0/bot/lib/lib2.a
|
|
rm -f *.o
|
|
;;
|
|
*) keys=$1
|
|
shift
|
|
ar $keys /user0/bot/lib/lib2.a $*
|
|
;;
|
|
esac
|