• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3NAME=hyph-utf8
4TMPDIR=`mktemp -d /tmp/hyphXXXXXX`
5filename="$TMPDIR/$NAME.zip"
6
7git checkout HEAD -- TL # TODO Remove!
8if [ ! -z "$(git status -s)" ]; then
9  echo 'The repository is dirty; I won’t do anything.  Please clean up first.'
10  exit 42
11fi
12oldwd=`pwd`
13cd `dirname $0`/..
14git archive --format=zip --prefix=$NAME/ --output="$filename" master:$NAME
15echo "$filename ready to be shipped to CTAN."
16cd $oldwd
17