repo.or.cz
/
conkeror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Reorganize code in spawn_process to be more robust to exceptions
[conkeror.git]
/
contrib
/
mketags.sh
blob
6239b4a7a65ff51bc4c00643a031636777da3e23
1
#! /bin/bash
2
3
function
do_target_etags
() {
4
ETAGSDIR
=
"
$1
"
5
if
[[
-z
"
$ETAGSDIR
"
]];
then
6
ETAGSDIR
=
.
7
fi
8
ETAGSDIR
=
"
${ETAGSDIR%/}
/TAGS"
9
echo -n
"Building
$ETAGSDIR
..."
10
etags
-o
"
$ETAGSDIR
"
$
(
find
-name
\
*
.js
-and
\
!
-name
'*[~#]*'
)
11
echo
ok
12
}
13
14
do_target_etags
"
$1
"