Commit ed2363d5 authored by Jonah Brüchert's avatar Jonah Brüchert

tests: Small fixes

parent 2b648981
......@@ -24,7 +24,7 @@ fi
if [ ! -f "${ANDROID_IMG_PATH}" ]; then
wget --continue \
https://archive.kaidan.im/halium/hammerhead/system.img
https://archive.kaidan.im/halium/hammerhead/system.img \
-O "${ANDROID_IMG_PATH}"
fi
......@@ -33,11 +33,15 @@ if [ -d ${ROOTFS_DIR} ]; then
sudo chown $(whoami) -R ${ROOTFS_DIR}
rm ${ROOTFS_DIR} -rf
mkdir -p ${ROOTFS_DIR}
else
mkdir -p ${ROOTFS_DIR}
fi
if [ -d ${IMAGE_DIR} ]; then
rm ${IMAGE_DIR} -r
mkdir -p ${IMAGE_DIR}
else
mkdir -p ${IMAGE_DIR}
fi
......
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