Magellan Linux

Diff of /trunk/mplayer/make-git-snapshot.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2402 by niro, Wed Jul 27 23:35:57 2011 UTC revision 2403 by niro, Fri Feb 7 09:59:22 2014 UTC
# Line 4  Line 4 
4  #  #
5  # to make a snapshot of the given tag/branch.  Defaults to HEAD.  # to make a snapshot of the given tag/branch.  Defaults to HEAD.
6    
7  DIRNAME=mplayer-1.0_git$( date +%Y%m%d )  DIRNAME=mplayer-1.1.1_git$( date +%Y%m%d )
8    
9  echo DIRNAME ${DIRNAME}  echo DIRNAME ${DIRNAME}
10  echo HEAD ${1:-HEAD}  echo HEAD ${1:-HEAD}
# Line 14  rm -rf ${DIRNAME} Line 14  rm -rf ${DIRNAME}
14  # checkout mplayer  # checkout mplayer
15  git clone git://git.mplayerhq.hu/mplayer ${DIRNAME}  git clone git://git.mplayerhq.hu/mplayer ${DIRNAME}
16    
 # check out git ffmpeg  
 git clone git://git.libav.org/libav.git ${DIRNAME}/ffmpeg  
   
17  GIT_DIR=${DIRNAME}/.git git archive --format=tar --prefix=${DIRNAME}/ ${1:-HEAD} \  GIT_DIR=${DIRNAME}/.git git archive --format=tar --prefix=${DIRNAME}/ ${1:-HEAD} \
18   | bzip2 > ${DIRNAME}.tar.bz2   | bzip2 > ${DIRNAME}.tar.bz2
19    

Legend:
Removed from v.2402  
changed lines
  Added in v.2403