summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpost-build-sort-out-downloads.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/post-build-sort-out-downloads.sh b/post-build-sort-out-downloads.sh
index eac194c..6802738 100755
--- a/post-build-sort-out-downloads.sh
+++ b/post-build-sort-out-downloads.sh
@@ -12,6 +12,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
+base_dir="${base_dir:-/mnt/ci_build}"
+
rm -rf ${WORKSPACE}/downloads
mkdir -p ${WORKSPACE}/downloads