From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q0Zh6-0000mN-E1 for garchives@archives.gentoo.org; Fri, 18 Mar 2011 13:26:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5165CE0616; Fri, 18 Mar 2011 13:26:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2457AE0616 for ; Fri, 18 Mar 2011 13:26:05 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A60FA1B40D1 for ; Fri, 18 Mar 2011 13:26:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 16E898006A for ; Fri, 18 Mar 2011 13:26:04 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <91362ea86163fae9e482ff556e2c66e8443343a2.fordfrog@gentoo> Subject: [gentoo-commits] dev/fordfrog:master commit in: scripts/netbeans/ X-VCS-Repository: dev/fordfrog X-VCS-Files: scripts/netbeans/check_binary_lists.sh X-VCS-Directories: scripts/netbeans/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 91362ea86163fae9e482ff556e2c66e8443343a2 Date: Fri, 18 Mar 2011 13:26:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: ffdd6b7604ca3d10d94d34528e3f4977 commit: 91362ea86163fae9e482ff556e2c66e8443343a2 Author: Miroslav =C5=A0ulc gentoo org> AuthorDate: Fri Mar 18 13:25:38 2011 +0000 Commit: Miroslav =C5=A0ulc gentoo org> CommitDate: Fri Mar 18 13:25:38 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/fordfrog.git;a= =3Dcommit;h=3D91362ea8 added netbeans script for checking changes in binary dependencies --- scripts/netbeans/check_binary_lists.sh | 34 ++++++++++++++++++++++++++= ++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/scripts/netbeans/check_binary_lists.sh b/scripts/netbeans/ch= eck_binary_lists.sh new file mode 100755 index 0000000..2706e2a --- /dev/null +++ b/scripts/netbeans/check_binary_lists.sh @@ -0,0 +1,34 @@ +#!/bin/bash + +OLD_DIR=3D"${1}" +NEW_DIR=3D"${2}" + +if [[ -z "${OLD_DIR}" ]] || [[ -z "${NEW_DIR}" ]]; then + echo "Usage: " + exit 1 +fi + +if [ ! -d "${OLD_DIR}" ] ; then + echo "ERROR: old_dir does not exist or is not directory!" + exit 1 +fi + +if [ ! -d "${NEW_DIR}" ] ; then + echo "ERROR: new_dir does not exist or is not directory!" + exit 1 +fi + +pushd "${NEW_DIR}" + +for file in `ls */external/binaries-list`; do + RESULT=3D`diff "${OLD_DIR}"/$file $file` + + if [ -n "${RESULT}" ] ; then + echo "${file}" + echo ${RESULT} + fi +done + +popd + +echo "DONE."