From a3e5e4fbb293a6540e44f3284813178aee68dc8c Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sat, 9 Jan 2016 22:28:00 +0000 Subject: [PATCH] make-tarball: replace realpath with readlink -f http://unix.stackexchange.com/questions/101080/realpath-command-not-found --- .travis.yml | 6 +++--- make-tarball.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index d966cd50..c40c83e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,9 +6,6 @@ env: matrix: fast_finish: true include: - - os: linux - compiler: gcc - env: BUILD_TYPE=tarball - os: linux compiler: gcc env: BUILD_TYPE=normal @@ -24,6 +21,9 @@ matrix: - os: osx compiler: clang env: BUILD_TYPE=normal + - os: linux + compiler: gcc + env: BUILD_TYPE=tarball before_install: - "echo os: [$TRAVIS_OS_NAME] build: [$BUILD_TYPE]" - if [[ "$BUILD_TYPE" == "normal" || "$BUILD_TYPE" == "tarball" ]]; then export CFGFLAGS= MYCXXFLAGS= MYLDFLAGS=; fi diff --git a/make-tarball.sh b/make-tarball.sh index 73eb97b5..932552f2 100755 --- a/make-tarball.sh +++ b/make-tarball.sh @@ -35,7 +35,7 @@ else # DESC="-rc1" fi -TARGZ=`realpath $TARGZ` +TARGZ=`readlink -f -- $TARGZ` echo "Exporting . to $TMPDIR/$ZNCDIR..." git checkout-index --all --prefix=$TMPDIR/$ZNCDIR/