[X2Go-Commits] [buildscripts] 01/01: bin/createsusetagsrepo: drop directory files in list created by create_directory ().
git-admin at x2go.org
git-admin at x2go.org
Sun Oct 30 06:46:56 CET 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 87db6af32580856854dd597d96c540463fec85bf
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sun Oct 30 06:46:49 2016 +0100
bin/createsusetagsrepo: drop directory files in list created by create_directory ().
---
bin/createsusetagsrepo | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/createsusetagsrepo b/bin/createsusetagsrepo
index 2dcf72a..7c53d30 100755
--- a/bin/createsusetagsrepo
+++ b/bin/createsusetagsrepo
@@ -76,7 +76,7 @@ create_directory () {
rm -f -- "${prefix}/${file}"
- find "${prefix}" -print | sed -e "s#${prefix}##" | grep -vE '^$' > "${prefix}/${file}"
+ find "${prefix}" -print | sed -e "s#${prefix}##" | grep -vE '^$' | grep -v "^${file}$" > "${prefix}/${file}"
}
set -e
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list