mirror of
git://sourceware.org/git/lvm2.git
synced 2024-10-28 03:27:58 +03:00
tests: put test envvar into braces
Ensure we not fail on space.
This commit is contained in:
parent
95f74af404
commit
1a0fea104b
@ -42,7 +42,7 @@ cd "$TESTDIR"
|
||||
|
||||
if test -n "$LVM_TEST_FLAVOUR"; then
|
||||
touch flavour_overrides
|
||||
env | grep ^$LVM_TEST_FLAVOUR | while read var; do
|
||||
env | grep ^${LVM_TEST_FLAVOUR} | while read var; do
|
||||
(echo -n "export "; echo $var | sed -e s,^${LVM_TEST_FLAVOUR}_,,) >> flavour_overrides
|
||||
done
|
||||
. flavour_overrides
|
||||
|
Loading…
Reference in New Issue
Block a user