34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1
if [ ! -d 'buildsrc' ]; then
mkdir 'src' >/dev/null 2>/dev/null
if [ ! -f "${SRC}" ]; then
rm -f "${SRC}.tmp"
wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
mv "${SRC}.tmp" "${SRC}"
fi
if [ ! -f "${YAJLSRC}" ]; then
rm -f "${YAJLSRC}.tmp"
wget -O "${YAJLSRC}.tmp" "${YAJLSRCURL}" || exit 1
mv "${YAJLSRC}.tmp" "${YAJLSRC}"
fi
fi
(
cd 'build' || exit 1
if [ ! -d '../buildsrc' ]; then
|
<
|
<
|
<
<
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1
if [ ! -d 'buildsrc' ]; then
mkdir 'src' >/dev/null 2>/dev/null
if [ ! -f "${SRC}" ]; then
download "${SRCURL}" "${SRC}" - || exit 1
fi
if [ ! -f "${YAJLSRC}" ]; then
download "${YAJLSRCURL}" "${YAJLSRC}" - || exit 1
fi
fi
(
cd 'build' || exit 1
if [ ! -d '../buildsrc' ]; then
|