File: userui-tarball

package info (click to toggle)
tuxonice-userui 1.1%2Bdfsg1.gc3bdd83-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 636 kB
  • ctags: 1,853
  • sloc: ansic: 5,788; makefile: 91; sh: 63; python: 46
file content (11 lines) | stat: -rwxr-xr-x 364 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

[ -z "$1" ] && echo "Usage: $0 <version number>" && exit

FULLNAME=tuxonice-userui-$1

[ -e $FULLNAME -o -e $FULLNAME.tar.gz ] && echo "Already exists!" && exit

! cp -a tags/release-$1 $FULLNAME && echo "No such release?" && exit 1
fakeroot tar --exclude '.svn' --exclude 'fbanim' --exclude 'themes' -czvf $FULLNAME.tar.gz $FULLNAME
rm -rf "$FULLNAME"