source: gs2-extensions/pdf-box/trunk/PDF-BOX-ZIP-UP.sh

Last change on this file was 38726, checked in by davidb, 3 months ago

Newer scripts to automate making the pdf-box-java.tar and .zip files

  • Property svn:executable set to *
File size: 475 bytes
Line 
1#!/bin/bash
2
3current_dir=${PWD##*/}
4
5if [ $current_dir != "pdf-box" ] ; then
6 echo "Error: To prepare the new pdf-box.tar.gz file, this" >&2
7 echo "script must be run the directory is itself named 'pdf-box'" >&2
8 exit 1
9fi
10
11# (Gnu) tar these days can handle zip files, so ...
12
13tar --directory=.. -cvzf pdf-box-java.zip \
14 pdf-box/lib \
15 pdf-box/perllib \
16 pdf-box/build \
17 pdf-box/setup.bash \
18 pdf-box/setup.bat \
19 pdf-box/pdf-box-setup.pl
Note: See TracBrowser for help on using the repository browser.