Skip to content

Commit 309efed

Browse files
committed
distcheck: fix arg order for chmod
1 parent eb7e424 commit 309efed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

distcheck.cmake

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Copyright (C) 2008-2014 LAAS-CNRS, JRL AIST-CNRS.
2+
# Copyright (C) 2025 INRIA.
23
#
34
# This program is free software: you can redistribute it and/or modify it under
45
# the terms of the GNU General Public License as published by the Free Software
@@ -145,7 +146,7 @@ macro(DISTCHECK_SETUP)
145146
${BUILD_CMD} clean || (echo "ERROR: the clean target failed." && false)
146147
&&
147148
cd ${CMAKE_BINARY_DIR}/${PROJECT_NAME}${PROJECT_SUFFIX}-${PROJECT_VERSION} &&
148-
chmod u+w -R . _build _inst &&
149+
chmod -R u+w . _build _inst &&
149150
rm -rf _build _inst &&
150151
find . -type d -print0 | xargs -0 chmod u+w &&
151152
echo "==============================================================" &&

0 commit comments

Comments
 (0)