public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/fordfrog:master commit in: scripts/netbeans/
Date: Fri, 18 Mar 2011 13:26:04 +0000 (UTC)	[thread overview]
Message-ID: <91362ea86163fae9e482ff556e2c66e8443343a2.fordfrog@gentoo> (raw)

commit:     91362ea86163fae9e482ff556e2c66e8443343a2
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 18 13:25:38 2011 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 13:25:38 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/fordfrog.git;a=commit;h=91362ea8

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/check_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="${1}"
+NEW_DIR="${2}"
+
+if [[ -z "${OLD_DIR}" ]] || [[ -z "${NEW_DIR}" ]]; then
+	echo "Usage: <old_dir> <new_dir>"
+	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=`diff "${OLD_DIR}"/$file $file`
+
+	if [ -n "${RESULT}" ] ; then
+		echo "${file}"
+		echo ${RESULT}
+	fi
+done
+
+popd
+
+echo "DONE."



             reply	other threads:[~2011-03-18 13:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 13:26 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-04-26 21:44 [gentoo-commits] dev/fordfrog:master commit in: scripts/netbeans/ Miroslav Šulc
2011-06-27  9:48 Miroslav Šulc
2011-05-20 10:09 Miroslav Šulc
2011-03-11 23:16 Miroslav Šulc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=91362ea86163fae9e482ff556e2c66e8443343a2.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox