re-import sources as agreed with the maintainer
This commit is contained in:
parent
a34bbb4058
commit
f9e1b77072
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/xkeyboard-config-2.28.tar.bz2
|
||||
/xkeyboard-config-.*.tar.bz2
|
||||
|
18
make-git-snapshot.sh
Normal file
18
make-git-snapshot.sh
Normal file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
MODULE=xkeyboard-config
|
||||
DIRNAME=$MODULE-$( date +%Y%m%d )
|
||||
|
||||
rm -rf $DIRNAME
|
||||
git clone git://git.freedesktop.org/git/$MODULE $DIRNAME
|
||||
cd $DIRNAME
|
||||
if [ -z "$1" ]; then
|
||||
git log | head -1
|
||||
else
|
||||
git checkout $1
|
||||
fi
|
||||
git log | head -1 | awk '{ print $2 }' > ../commitid
|
||||
git repack -a -d
|
||||
cd ..
|
||||
tar jcf $DIRNAME.tar.bz2 $DIRNAME
|
||||
rm -rf $DIRNAME
|
Loading…
Reference in New Issue
Block a user