Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hpc
gekkofs
Commits
0c19a688
Verified
Commit
0c19a688
authored
Jun 20, 2022
by
Marc Vef
Browse files
dl_dep script: Allow multiple patch files per dependency
parent
8a2b71c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/dl_dep.sh
View file @
0c19a688
...
...
@@ -269,7 +269,10 @@ clonedeps() {
# apply patch if provided
if
[[
-n
"
${
PATCH
}
"
]]
;
then
[[
"
$DRY_RUN
"
==
true
]]
||
(
cd
"
${
SOURCE_DIR
}
/
${
FOLDER
}
"
&&
git apply
--verbose
"
${
PATCH_DIR
}
/
${
PATCH
}
"
)
for
PATCH_FILE
in
${
PATCH
}
;
do
echo
"Applying patch '
${
PATCH_DIR
}
/
${
PATCH_FILE
}
'..."
[[
"
$DRY_RUN
"
==
true
]]
||
(
cd
"
${
SOURCE_DIR
}
/
${
FOLDER
}
"
&&
git apply
--verbose
"
${
PATCH_DIR
}
/
${
PATCH_FILE
}
"
)
done
fi
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment