Projects
openEuler:24.03:SP1:Everything
mesa-demos
_service:tar_scm:mesad-git-snapshot.sh
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:mesad-git-snapshot.sh of Package mesa-demos
#!/bin/sh # Usage: ./make-git-snapshot.sh [COMMIT] # # to make a snapshot of the given tag/branch. Defaults to HEAD. # Point env var REF to a local mesa repo to reduce clone time. DIRNAME=mesa-demos-$( date +%Y%m%d ) echo REF ${REF:+--reference $REF} echo DIRNAME $DIRNAME echo HEAD ${1:-HEAD} rm -rf $DIRNAME git clone ${REF:+--reference $REF} \ git://git.freedesktop.org/git/mesa/demos $DIRNAME GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \ | bzip2 > $DIRNAME.tar.bz2 # rm -rf $DIRNAME
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