30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1
if [ ! -f "${SRC}" ]; then
mkdir 'src' >/dev/null 2>/dev/null
if [ ! -d 'buildsrc' ]; then
rm -f "${SRC}.tmp"
wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
mv "${SRC}.tmp" "${SRC}"
fi
fi
(
cd 'build' || exit 1
if [ ! -d '../buildsrc' ]; then
|
<
|
<
|
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1
if [ ! -f "${SRC}" ]; then
mkdir 'src' >/dev/null 2>/dev/null
if [ ! -d 'buildsrc' ]; then
download "${SRCURL}" "${SRC}" - || exit 1
fi
fi
(
cd 'build' || exit 1
if [ ! -d '../buildsrc' ]; then
|