[latexdraw] 11/147: update repackage script

Stuart Prescott stuart at debian.org
Thu Nov 24 23:53:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

stuart pushed a commit to branch master
in repository latexdraw.

commit 1f515af0215d2728373034eec7f3b28a5643cf97
Author: Stuart Prescott <stuart at debian.org>
Date:   Sun Oct 21 23:16:11 2007 +0000

    update repackage script
---
 debian/repackage | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/debian/repackage b/debian/repackage
index 1bc8b52..556cd87 100755
--- a/debian/repackage
+++ b/debian/repackage
@@ -42,14 +42,15 @@ Usage: $0 --upstream-version x.y.z filename.zip
 Where the the version x.y.z is the version number of the new version and
 filename.zip is the new source filename for the package $PACKAGE.
 
-The file $RCFILE must exist and set the following environment variables:
+The file $RCFILE must exist and set the following environment variables
+(and these are their current versions):
 
-  PACKAGE=frobinator
-  UPSTREAM=sourceforge.net
+  PACKAGE=$PACKAGE
+  UPSTREAM=$UPSTREAM
   
-  UNARCHIVE=do_unzip
-  RM_LIST="lib,src lib"
-  FIND_LIST="*.jar,*.class"
+  UNARCHIVE=$UNARCHIVE
+  RM_LIST=$RM_LIST
+  FIND_LIST=$FIND_LIST
   
 EOT
   exit 1
@@ -111,11 +112,11 @@ function do_unzip() {
 }
 
 function do_untargz() {
-  logcmd tar -C "$1" zvxf "$2"
+  logcmd tar -C "$1" -zvxf "$2"
 }
 
 function do_untarbz2() {
-  logcmd tar -C "$1" jvxf "$2"
+  logcmd tar -C "$1" -jvxf "$2"
 }
 
 DATE=$(date -R)
@@ -172,7 +173,7 @@ OLDIFS=$IFS
 IFS=,
 for i in $RM_LIST
 do
-  logcmd rm -r "$i"
+  logcmd rm -rf "$i"
 done
 
 for i in $FIND_LIST

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/latexdraw.git



More information about the pkg-java-commits mailing list