mirror of
https://github.com/znc/znc.git
synced 2026-05-18 07:15:54 +02:00
make-tarball: replace realpath with readlink -f
http://unix.stackexchange.com/questions/101080/realpath-command-not-found
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
+1
-1
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user