1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| #!/bin/bash
|
| PWD=`pwd`
| DST=../linux-3.2.0
| SRC=../`basename $PWD`
|
| cd $DST
|
| # rm -f cscope.* tags
|
| if [ -s tags ] ; then
| echo "ctags already exist, exit now..."
| exit 0;
| fi
|
| ln -s $SRC/tags
|
| for f in $SRC/cscope*
| do
| ln -s $f
| done
|
|