updated the parts needed for offline sphinx

OBS-URL: https://build.opensuse.org/package/show/network:cluster/spack?expand=0&rev=36
This commit is contained in:
Christian Goll 2021-11-17 08:47:48 +00:00 committed by Git OBS Bridge
parent 1399716433
commit 2918bbaf83
2 changed files with 8 additions and 8 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9494d0f318cc65c0871829455a4a4c08948b557a585ac26d83216ac8a93f7bc1
size 112656
oid sha256:282695a61a434ae429782f0227bec85f43062d4d208c1c0b3097e81044724008
size 112650

View File

@ -192,12 +192,12 @@ EOF
tmpdir=$(mktemp -d %{_sourcedir}/tmpd-XXXXXXXXX)
echo -e '#! /bin/sh
args=${1+"$@"}
while [ -n "$1" ]; do
case $1 in
--*) shift ;;
graph|spec) exit 0 ;;
*) exec /usr/bin/spack ${args} ;;
esac;
while [ -n "$1" ]; do
case $1 in
--*) shift ;;
graph|spec) exit 0 ;;
*) exec /usr/bin/spack ${args} ;;
esac;
done
exit 0' > $tmpdir/spack
chmod 0755 $tmpdir/spack