1
2
3
4
5
6
7
8
9
10
11
|
#! /bin/sh
find . -type f -name '.*.sw?' | xargs rm -f
find . -type f -name '.nfs*' | xargs rm -f
./autogen.sh || exit 1
if [ ! -x configure ]; then
exit 1
fi
|
>
>
>
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#! /bin/sh
find . -type f -name '.*.sw?' | xargs rm -f
find . -type f -name '.nfs*' | xargs rm -f
if [ "${SNAPSHOT}" = "1" ]; then
sed "s@\(AC_INIT([^)]*\))@\1.${VERS})@" configure.ac > configure.ac.new
cat configure.ac.new > configure.ac
rm -f configure.ac.new
fi
./autogen.sh || exit 1
if [ ! -x configure ]; then
exit 1
fi
|