common/travis: put hostdir in $HOME. simplifies caching.
This commit is contained in:
@@ -2,11 +2,4 @@
|
||||
#
|
||||
# bootstrap.sh
|
||||
|
||||
mkdir -p hostdir/repocache
|
||||
if [ -d $HOME/repocache ]; then
|
||||
ln $HOME/repocache/* hostdir/repocache;
|
||||
else
|
||||
mkdir -p $HOME/repocache
|
||||
fi
|
||||
|
||||
./xbps-src binary-bootstrap
|
||||
./xbps-src -H $HOME/hostdir binary-bootstrap
|
||||
|
||||
@@ -7,7 +7,7 @@ if [ "$1" != x86_64 ]; then
|
||||
fi
|
||||
|
||||
for pkg in $(cat /tmp/templates); do
|
||||
./xbps-src $arch -C pkg "$pkg"
|
||||
./xbps-src -H $HOME/hostdir $arch -C pkg "$pkg"
|
||||
[ $? -eq 1 ] && exit 1
|
||||
done
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
for pkg in $(cat /tmp/templates); do
|
||||
for subpkg in $(xsubpkg $pkg); do
|
||||
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
|
||||
./xbps-src show-files "$pkg"
|
||||
./xbps-src -H $HOME/hostdir show-files "$pkg"
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user