repo.or.cz
/
beanstalkd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Avoid a race condition with two time() calls.
[beanstalkd.git]
/
buildconf.sh
blob
f5fbcb54423209d5ee174e39719b9f37b3aa6c2c
1
#!/bin/sh
2
3
clean
=
0
4
5
while
test
$#
-gt
0
;
do
6
if
test
"
$1
"
=
"--clean"
;
then
7
clean
=
1
8
fi
9
shift
10
done
11
12
if
test
"
$clean
"
=
"1"
;
then
13
echo
"Cleaning autogenerated files"
14
${MAKE:-make}
-s -f
build.mk clean
15
else
16
${MAKE:-make}
-s -f
build.mk
17
fi
18