Avoid a race condition with two time() calls.
[beanstalkd.git] / buildconf.sh
blobf5fbcb54423209d5ee174e39719b9f37b3aa6c2c
1 #!/bin/sh
3 clean=0
5 while test $# -gt 0; do
6 if test "$1" = "--clean"; then
7 clean=1
8 fi
9 shift
10 done
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