This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository visualvm.
commit 5aaabdff1ad877c8986e781c3ea3cf77e1d6b0f8 Author: Emmanuel Bourg <[email protected]> Date: Tue May 6 12:44:04 2014 +0200 Add a file in the empty directories to preserve them in Git --- debian/orig-tar.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh index 304422a..817b3e4 100755 --- a/debian/orig-tar.sh +++ b/debian/orig-tar.sh @@ -7,16 +7,22 @@ TAR=../visualvm_$VERSION.orig.tar.xz rm -Rf java.net $3 $DIR +# Download the tarballs wget --no-verbose --recursive --level 1 \ --accept 'netbeans-profiler-visualvm_release*' \ --accept 'visualvm_*-src.tar.gz' \ https://java.net/downloads/visualvm/release$TAG/ +# Extract the source files mkdir $DIR mkdir $DIR/netbeans tar -xf java.net/downloads/visualvm/release$TAG/visualvm_*-src.tar.gz -C $DIR tar -xf java.net/downloads/visualvm/release$TAG/netbeans-profiler-visualvm_release*.tar.gz -C $DIR/netbeans +# Add a file in the empty directories to preserve them in Git (the build fails otherwise) +for dir in $(find . -type d -regex ``./[^.].*'' -empty); do touch $dir"/.gitignore"; done; + +# Build the upstream tarball XZ_OPT=--best tar -cJf $TAR --exclude '*.exe' $DIR rm -Rf $DIR java.net -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/visualvm.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

