Projects
openEuler:Mainline
libffado
_service:tar_scm:libffado-snapshot.sh
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:libffado-snapshot.sh of Package libffado
#!/bin/bash # $1 - revision number to checkout. : ${1?"You must either provide desired revision number \"X\" to checkout: `basename $0` X or fetch the latest revision by: `basename $0` HEAD"} set -e tmp=$(mktemp -d) trap cleanup EXIT cleanup() { set +e [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp" } unset CDPATH unset GREP_OPTIONS pwd=$(pwd) name=libffado version=2.1.0 revision=$1 pushd "$tmp" >/dev/null echo "Fetching SVN revision: $1" svn export -r$revision http://subversion.ffado.org/ffado/trunk/$name $name-$version |tee $name.stdout revision=$(cat $name.stdout|grep "Exported revision"|sed 's|[^0-9]*||g') echo "Fetched SVN revision: $revision" rm -f $name.stdout tar jcf "$pwd"/$name-$version-svn$revision.tar.bz2 $name-$version echo "Written: $name-$version-svn$revision.tar.bz2" popd >/dev/null
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2