[X2Go-Commits] [buildscripts] 05/26: bin/build-deb-package: backport from bin/sbuild-deb-package: fix find call by specifying the -maxdepth and -mindepth options before the -type predicate.

git-admin at x2go.org git-admin at x2go.org
Sun Nov 13 20:35:45 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 b12fc0c0792a51aaed47238743a6cd96db08370d
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sun Nov 13 19:02:04 2016 +0100

    bin/build-deb-package: backport from bin/sbuild-deb-package: fix find call by specifying the -maxdepth and -mindepth options before the -type predicate.
---
 bin/build-deb-package |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/build-deb-package b/bin/build-deb-package
index 2526110..1209347 100755
--- a/bin/build-deb-package
+++ b/bin/build-deb-package
@@ -246,7 +246,7 @@ build_packages() {
 				git clone "${PROJECT_DIR}" "${TEMP_DIR}/${PROJECT}/"
 				cd "${TEMP_DIR}/${PROJECT}"
 				git checkout "${CHECKOUT}" || git checkout master
-				find "${PROJECT_DIR}/../" -type f -maxdepth 0 -mindepth 0 | grep -qs "${PROJECT}_"*.orig.tar.gz && cp -- "${PROJECT_DIR}/../${PROJECT}_"*.orig.tar.gz ..
+				find "${PROJECT_DIR}/../" -maxdepth 0 -mindepth 0 -type f | grep -qs "${PROJECT}_"*.orig.tar.gz && cp -- "${PROJECT_DIR}/../${PROJECT}_"*.orig.tar.gz ..
 				GITREV="$(gitrevno)"
 
 				# we always build native packages for our repos

--
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