Skip to content

Commit 6604d1b

Browse files
committed
Merge pull request #8 from travis-ci/ha-bug-incorrect-archive
Ensure that the Python installation directory is included in the archive
2 parents ddca5cd + 2886542 commit 6604d1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/archive

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919

2020
set -o xtrace
2121

22-
: ${TAR_PATHS:=}
22+
: ${TAR_PATHS:=$INSTALL_DEST/$VERSION}
2323
: ${DESTS:=}
2424

2525
if [[ $VERSION =~ ^python|pypy ]] ; then
@@ -47,7 +47,7 @@ fi
4747

4848
for DEST in $DESTS ; do
4949
mkdir -p $(dirname $DEST)
50-
tar -cjf $DEST $TAR_PATHS
50+
tar -cjf $DEST $(ls -d $TAR_PATHS 2>/dev/null || true)
5151

5252
pushd $(dirname $DEST) &>/dev/null
5353

0 commit comments

Comments
 (0)