Updated Branches: refs/heads/1.6.0-SNAPSHOT f0c12cd04 -> f777f539e
ACCUMULO-1964 Use -maxdepth and -mindepth on find to ensure cross-platform compatibility. Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/f777f539 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/f777f539 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/f777f539 Branch: refs/heads/1.6.0-SNAPSHOT Commit: f777f539e50c8f23100147bc0d5fe485ed5aabd4 Parents: f0c12cd Author: Josh Elser <[email protected]> Authored: Thu Dec 5 16:12:22 2013 -0500 Committer: Josh Elser <[email protected]> Committed: Thu Dec 5 16:12:22 2013 -0500 ---------------------------------------------------------------------- bin/build_native_library.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/f777f539/bin/build_native_library.sh ---------------------------------------------------------------------- diff --git a/bin/build_native_library.sh b/bin/build_native_library.sh index b537a23..cb8d0dd 100755 --- a/bin/build_native_library.sh +++ b/bin/build_native_library.sh @@ -51,7 +51,7 @@ if [[ $? -ne 0 ]]; then fi # Move to the first (only) directory in our unpacked tarball -native_dir=`find "${TMP_DIR}" -type d -depth 1` +native_dir=`find "${TMP_DIR}" -maxdepth 1 -mindepth 1 -type d` cd "${native_dir}"
