Differences From
Artifact [8a0aea4553]:
21 21
22 22 rm -rf 'build' 'out' 'inst'
23 23 mkdir 'build' 'out' 'inst' || exit 1
24 24
25 25 if [ ! -f "${SRC}" ]; then
26 26 mkdir 'src' >/dev/null 2>/dev/null
27 27
28 - rm -f "${SRC}.tmp"
29 - wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
30 - mv "${SRC}.tmp" "${SRC}"
28 + if [ ! -d 'buildsrc' ]; then
29 + rm -f "${SRC}.tmp"
30 + wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
31 + mv "${SRC}.tmp" "${SRC}"
32 + fi
31 33 fi
32 34
33 35 (
34 36 cd 'build' || exit 1
35 37
36 38 if [ ! -d '../buildsrc' ]; then
37 39 gzip -dc "../${SRC}" | tar -xf -