mkdir -> mkdir -p, since /usr/include might not exist in the installroot yet
authorAdam Jackson <ajax@freedesktop.org>
Thu, 10 Aug 2006 20:24:50 +0000 (20:24 +0000)
committerAdam Jackson <ajax@freedesktop.org>
Thu, 10 Aug 2006 20:24:50 +0000 (20:24 +0000)
bin/installmesa

index 7e77507cad4a5979c959dce56ed3436821247d1c..1e24c05cad77ede37fefcbf0f0afeb46210743bb 100755 (executable)
@@ -62,10 +62,10 @@ fi
 
 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