Skip to content
This repository was archived by the owner on Jul 2, 2025. It is now read-only.

Commit 4f84b40

Browse files
committed
Fix environment variable handling
Signed-off-by: John Else <john.else@citrix.com>
1 parent 6dc1c11 commit 4f84b40

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

utils/travis-build-repo.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ PACKAGE=$1
2020
REPO=`basename $PWD`
2121
REPO_PATH=/repos/$REPO
2222

23-
CONFIGURE=${REPO_CONFIGURE_CMD:-'echo "REPO_CONFIGURE_CMD unset, assuming: ./configure"; ./configure'}
24-
BUILD=${REPO_BUILD_CMD:-'echo "REPO_BUILD_CMD unset, assuming: make"; make'}
25-
TEST=${REPO_TEST_CMD:-'echo "REPO_TEST_CMD unset, assuming: make test"; make test'}
23+
CONFIGURE=${REPO_CONFIGURE_CMD:-./configure}
24+
BUILD=${REPO_BUILD_CMD:-make}
25+
TEST=${REPO_TEST_CMD:-make test}
2626

2727
python run.py -p $PACKAGE --rm \
28-
-e CONFIGURE=$CONFIGURE \
29-
-e BUILD=$BUILD \
30-
-e TEST=$TEST \
28+
-e "CONFIGURE=$CONFIGURE" \
29+
-e "BUILD=$BUILD" \
30+
-e "TEST=$TEST" \
3131
-v $PWD:$REPO_PATH \
3232
sh $REPO_PATH/travis-build-repo-internal.sh $REPO_PATH

0 commit comments

Comments
 (0)