Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 325bf673 authored by Robert Nelson's avatar Robert Nelson
Browse files

scripts: fix


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 3d59727b
No related merge requests found
...@@ -165,7 +165,7 @@ mmc_detect_n_mount () { ...@@ -165,7 +165,7 @@ mmc_detect_n_mount () {
mmc_partition_discover mmc_partition_discover
mmc_unmount mmc_unmount
fi fi
i=$(($i+1)) i=$(($i+1))
done done
echo "-----------------------------" echo "-----------------------------"
...@@ -188,7 +188,7 @@ unmount_partitions () { ...@@ -188,7 +188,7 @@ unmount_partitions () {
i=0 ; while test $i -le ${NUM_MOUNTS} ; do i=0 ; while test $i -le ${NUM_MOUNTS} ; do
DRIVE=$(mount | grep -v none | grep "${MMC}" | tail -1 | awk '{print $1}') DRIVE=$(mount | grep -v none | grep "${MMC}" | tail -1 | awk '{print $1}')
sudo umount ${DRIVE} >/dev/null 2>&1 || true sudo umount ${DRIVE} >/dev/null 2>&1 || true
i=$(($i+1) i=$(($i+1))
done done
mkdir -p "${DIR}/deploy/disk/" mkdir -p "${DIR}/deploy/disk/"
......
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