summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2006-08-10 20:24:50 +0000
committerAdam Jackson <[email protected]>2006-08-10 20:24:50 +0000
commit3775b566fa15ce7ffa0cf02a2f075dab1dffcebd (patch)
tree8bde1c0491858cf46e2dd911d927d790fa89ded2 /bin
parentbe85fde82b148c4fc3639fcf3cfedb5de9381fc8 (diff)
mkdir -> mkdir -p, since /usr/include might not exist in the installroot yet
Diffstat (limited to 'bin')
-rwxr-xr-xbin/installmesa8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/installmesa b/bin/installmesa
index 7e77507cad4..1e24c05cad7 100755
--- a/bin/installmesa
+++ b/bin/installmesa
@@ -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