Skip to content

Commit 272ab6b

Browse files
committed
distcheck: recursively restore user write permissions before cleaning up dist dir
1 parent e9b5839 commit 272ab6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distcheck.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ macro(DISTCHECK_SETUP)
145145
${BUILD_CMD} clean || (echo "ERROR: the clean target failed." && false)
146146
&&
147147
cd ${CMAKE_BINARY_DIR}/${PROJECT_NAME}${PROJECT_SUFFIX}-${PROJECT_VERSION} &&
148-
chmod u+w . _build _inst &&
148+
chmod u+w -R . _build _inst &&
149149
rm -rf _build _inst &&
150150
find . -type d -print0 | xargs -0 chmod u+w &&
151151
echo "==============================================================" &&

0 commit comments

Comments
 (0)