Skip to content

Commit 2cd8cb6

Browse files
committed
dont escape + character in grep pattern
1 parent 1681369 commit 2cd8cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

load_eessi_extend_module.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ if [[ $? -eq 0 ]]; then
7474
# $PR_DIFF should be set by the calling script (EESSI-install-software.sh)
7575
if [[ ! -z ${PR_DIFF} ]] && [[ -f "$PR_DIFF" ]]; then
7676
# check if EESSI-extend easyconfig was modified; if so, we need to rebuild it
77-
grep -q "^\+\+\+ b/${EESSI_EXTEND_EASYCONFIG}" "${PR_DIFF}"
77+
grep -q "^+++ b/${EESSI_EXTEND_EASYCONFIG}" "${PR_DIFF}"
7878
if [[ $? -eq 0 ]]; then
7979
rebuild_eessi_extend=true
8080
fi

0 commit comments

Comments
 (0)