Skip to content

Commit feed2f0

Browse files
author
Damian Rouson
authored
Add slash in patch path in build_and_install.sh
1 parent a4a1cc6 commit feed2f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prerequisites/build-functions/build_and_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ build_and_install()
5151
# Patch gfortran if necessary
5252
export patches_dir="${OPENCOARRAYS_SRC_DIR}/prerequisites/build-functions/patches/${package_to_build}/${version_to_build}"
5353
if [[ -d "${patches_dir:-}" ]]; then
54-
for patch in "${patches_dir%/}"*.diff ; do
54+
for patch in "${patches_dir%/}"/*.diff ; do
5555
info "Applying patch ${patch##*/} to $package_to_build ${version_to_build}."
5656
patch -p1 < "$patch"
5757
done

0 commit comments

Comments
 (0)