File: draft

package info (click to toggle)
at 3.2.5-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 708 kB
  • sloc: sh: 3,139; ansic: 2,620; yacc: 578; makefile: 214; lex: 92; perl: 62
file content (13 lines) | stat: -rwxr-xr-x 310 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -e

VERSION=$(grep AC_INIT configure.ac | cut -f 2 -d , | tr -d ")" | tr -d " ")
echo "Going to draft version: $VERSION"
echo "Press enter to continue:"
read enter
autoconf

git archive --format=tar --prefix=at-$VERSION/ --output=../at_$VERSION.orig.tar HEAD
gzip -v9 ../at_$VERSION.orig.tar