We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c46a99d + a173421 commit addad6cCopy full SHA for addad6c
install-deps.sh
@@ -541,6 +541,9 @@ fi
541
if $for_make_check; then
542
mkdir -p install-deps-cache
543
top_srcdir=$(pwd)
544
+ if [ -n "$XDG_CACHE_HOME" ]; then
545
+ ORIGINAL_XDG_CACHE_HOME=$XDG_CACHE_HOME
546
+ fi
547
export XDG_CACHE_HOME=$top_srcdir/install-deps-cache
548
wip_wheelhouse=wheelhouse-wip
549
#
@@ -551,6 +554,11 @@ if $for_make_check; then
551
554
done
552
555
rm -rf $top_srcdir/install-deps-python3
553
556
rm -rf $XDG_CACHE_HOME
557
+ if [ -n "$ORIGINAL_XDG_CACHE_HOME" ]; then
558
+ XDG_CACHE_HOME=$ORIGINAL_XDG_CACHE_HOME
559
+ else
560
+ unset XDG_CACHE_HOME
561
562
type git > /dev/null || (echo "Dashboard uses git to pull dependencies." ; false)
563
fi
564
0 commit comments