[visualvm] 03/03: Add the .gitignore files in the staging directory only

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue May 6 12:24:41 UTC 2014


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

ebourg-guest pushed a commit to branch master
in repository visualvm.

commit ce90f24faab626ad6aeeb5f68a5223905a7bf7ee
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue May 6 12:53:21 2014 +0200

    Add the .gitignore files in the staging directory only
---
 debian/orig-tar.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 817b3e4..e526491 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -20,7 +20,7 @@ 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;
+for dir in $(find ./$DIR -type d -regex ``./[^.].*'' -empty); do touch $dir"/.gitignore"; done;
 
 # Build the upstream tarball
 XZ_OPT=--best tar -cJf $TAR --exclude '*.exe' $DIR

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



More information about the pkg-java-commits mailing list