Merge branch 'ep/shell-assign-and-export-vars'
* ep/shell-assign-and-export-vars: scripts: more "export VAR=VALUE" fixes scripts: "export VAR=VALUE" construct is not portable
This commit is contained in:
@ -14,7 +14,11 @@ test_description='merge-recursive options
|
||||
. ./test-lib.sh
|
||||
|
||||
test_have_prereq SED_STRIPS_CR && SED_OPTIONS=-b
|
||||
test_have_prereq GREP_STRIPS_CR && export GREP_OPTIONS=-U
|
||||
if test_have_prereq GREP_STRIPS_CR
|
||||
then
|
||||
GREP_OPTIONS=-U
|
||||
export GREP_OPTIONS
|
||||
fi
|
||||
|
||||
test_expect_success 'setup' '
|
||||
conflict_hunks () {
|
||||
|
@ -5,7 +5,11 @@ test_description='test git-http-backend-noserver'
|
||||
|
||||
HTTPD_DOCUMENT_ROOT_PATH="$TRASH_DIRECTORY"
|
||||
|
||||
test_have_prereq GREP_STRIPS_CR && export GREP_OPTIONS=-U
|
||||
if test_have_prereq GREP_STRIPS_CR
|
||||
then
|
||||
GREP_OPTIONS=-U
|
||||
export GREP_OPTIONS
|
||||
fi
|
||||
|
||||
run_backend() {
|
||||
echo "$2" |
|
||||
|
Reference in New Issue
Block a user