Commit b6abce61 authored by Matthieu Boileau's avatar Matthieu Boileau

Update common.sh

parent d6e0eb8f
......@@ -13,6 +13,14 @@ mkdir -p $BASE_WORK_DIR
mkdir -p $BASE_INSTALL_DIR
mkdir -p $BASE_MODULE_DIR
download()
{
if [[ ! -f $ARCHIVE ]]; then
mkdir -p $WORK_DIR
wget $URL -O $ARCHIVE || { echo 'Download failed' ; exit 1; }
fi
}
clean_dir()
{
if [[ -d $1 ]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment