Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
superlu
get-tarball.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File get-tarball.sh of Package superlu
#!/bin/bash set -e VERSION=5.2.2 FILES="mc64ad.c sgsisx.c sldperm.c dgsisx.c dldperm.c cgsisx.c cldperm.c zgsisx.c zldperm.c" URL="https://github.com/xiaoyeli/superlu/archive/v$VERSION/superlu-$VERSION.tar.gz" TAR="superlu-$VERSION.tar.gz" WORKDIR="$(mktemp -d superlu.XXXX)" TODIR="$(pwd)" cd "$WORKDIR" wget $URL tar xfz superlu-$VERSION.tar.gz for file in $FILES; do rm superlu-$VERSION/SRC/$file done if [ -e "$TODIR/$TAR" ]; then echo "$TAR already exists." else tar cfz "$TODIR/$TAR" superlu-$VERSION fi cd "$TODIR" rm -r "$WORKDIR"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor