mkdir -> mkdir -p, since /usr/include might not exist in the installroot yet
diff --git a/bin/installmesa b/bin/installmesa
index 7e77507..1e24c05 100755
--- a/bin/installmesa
+++ b/bin/installmesa
@@ -62,10 +62,10 @@
set -v
-mkdir ${INCLUDE_DIR}
-mkdir ${INCLUDE_DIR}/GL
-# NOT YET: mkdir ${INCLUDE_DIR}/GLES
-mkdir ${LIB_DIR}
+mkdir -p ${INCLUDE_DIR}
+mkdir -p ${INCLUDE_DIR}/GL
+# NOT YET: mkdir -p ${INCLUDE_DIR}/GLES
+mkdir -p ${LIB_DIR}
cp -f ${TOP}/include/GL/*.h ${INCLUDE_DIR}/GL
cp -f ${TOP}/src/glw/*.h ${INCLUDE_DIR}/GL
# NOT YET: cp -f ${TOP}/include/GLES/*.h ${INCLUDE_DIR}/GLES