Skip to content

Commit 0511be3

Browse files
authored
Merge pull request #28 from bedroge/fix_grep
Fix `stray \ before +` error caused by `grep` in `load_eessi_extend_module.sh`
2 parents 1681369 + 2cd8cb6 commit 0511be3

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)