travis: fix paths for caches
This commit is contained in:
parent
4646c02d92
commit
76025ed4b0
@ -17,7 +17,7 @@ if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then
|
||||
echo "Cannot find cross-compiling toolchain in $JEHANNE/hacking/bin"
|
||||
if [ -f "$JEHANNE/tmp/toolchain/bin/x86_64-jehanne-gcc" ]; then
|
||||
echo "Found cross-compiling toolchain in $JEHANNE/tmp/toolchain/"
|
||||
mv $JEHANNE/tmp/toolchain/ $JEHANNE/hacking/cross/toolchain
|
||||
mv $JEHANNE/tmp/toolchain/* $JEHANNE/hacking/cross/toolchain/
|
||||
else
|
||||
echo "Creating cross-compiling toolchain..."
|
||||
(cd $JEHANNE/hacking/cross/; ./init.sh)
|
||||
@ -40,6 +40,9 @@ if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then
|
||||
|
||||
if [ "$TRAVIS_BUILD_DIR" != "" ]; then
|
||||
echo "Move cross-compiling toolchain to $JEHANNE/tmp/toolchain for Travis caches"
|
||||
mv $JEHANNE/hacking/cross/toolchain $JEHANNE/tmp/toolchain/
|
||||
if [ ! -d "$JEHANNE/tmp/toolchain" ]; then
|
||||
mkdir $JEHANNE/tmp/toolchain
|
||||
fi
|
||||
mv $JEHANNE/hacking/cross/toolchain/* $JEHANNE/tmp/toolchain/
|
||||
fi
|
||||
fi
|
||||
|
@ -16,7 +16,7 @@ if [ ! -f "$JEHANNE/hacking/cross/toolchain/bin/x86_64-jehanne-gcc" ]; then
|
||||
echo "Cannot find cross-compiling toolchain in $JEHANNE/hacking/bin"
|
||||
if [ -f "$JEHANNE/tmp/toolchain/bin/x86_64-jehanne-gcc" ]; then
|
||||
echo "Found cross-compiling toolchain in $JEHANNE/tmp/toolchain/"
|
||||
mv $JEHANNE/tmp/toolchain/ $JEHANNE/hacking/cross/toolchain
|
||||
mv $JEHANNE/tmp/toolchain/* $JEHANNE/hacking/cross/toolchain/
|
||||
else
|
||||
echo "Creating cross-compiling toolchain..."
|
||||
(cd $JEHANNE/hacking/cross/; ./init.sh)
|
||||
@ -32,5 +32,8 @@ build all
|
||||
|
||||
if [ "$TRAVIS_BUILD_DIR" != "" ]; then
|
||||
echo "Move cross-compiling toolchain to $JEHANNE/tmp/toolchain for Travis caches"
|
||||
mv $JEHANNE/hacking/cross/toolchain $JEHANNE/tmp/toolchain/
|
||||
if [ ! -d "$JEHANNE/tmp/toolchain" ]; then
|
||||
mkdir $JEHANNE/tmp/toolchain
|
||||
fi
|
||||
mv $JEHANNE/hacking/cross/toolchain/* $JEHANNE/tmp/toolchain/
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user