Skip to content

Commit 148d2e4

Browse files
committed
Call build script via bash to avoid exec bit dependency
1 parent 5941402 commit 148d2e4

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/manual.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242
texlive-fonts-recommended
4343
4444
- name: Build the PDF
45-
run: ./doc/manual/build-manual.sh DABstar-Manual.pdf
45+
# called via bash so that it does not depend on the executable bit of the checkout
46+
run: bash doc/manual/build-manual.sh DABstar-Manual.pdf
4647

4748
- uses: actions/upload-artifact@v4
4849
with:

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,9 @@ add_custom_target(uninstall
273273
find_program(PANDOC_EXECUTABLE pandoc)
274274

275275
if (UNIX AND PANDOC_EXECUTABLE)
276+
# called via bash so that it does not depend on the executable bit of the checkout
276277
add_custom_target(manual
277-
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/doc/manual/build-manual.sh
278+
COMMAND bash ${CMAKE_CURRENT_SOURCE_DIR}/doc/manual/build-manual.sh
278279
${CMAKE_CURRENT_BINARY_DIR}/DABstar-Manual.pdf
279280
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
280281
COMMENT "Building the DABstar user manual PDF"

doc/manual/build-manual.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)