This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via ca86f291356ade62df38c8059f7f0eecebfe0991 (commit) from 3cefa3907f68f96ec6e2e7ecc4ecf1fb26b96cdb (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/ca86f291356ade62df38c8059f7f0eecebfe0...
commit ca86f291356ade62df38c8059f7f0eecebfe0991 Author: Cyril Hrubis metan@ucw.cz Date: Sun May 22 17:07:24 2011 -0400
build: Fix bashism (to work on debian with their dash).
diff --git a/build/liblock.sh b/build/liblock.sh index 159d23b..2af11e4 100644 --- a/build/liblock.sh +++ b/build/liblock.sh @@ -5,9 +5,10 @@ spinlock() { I=0 #echo -n "Trying to acquire lock in '$1' ." - while ! mkdir "$1/.lock" &> /dev/null; do + while ! `mkdir "$1/.lock" &> /dev/null`; do sleep 1; ((I=I+1)) + echo $I if [ $I -gt 10 ]; then echo "Failed to acquire lock '`pwd`/.lock'" exit 1 diff --git a/build/link.sh b/build/link.sh index 580ff19..f13ee9e 100755 --- a/build/link.sh +++ b/build/link.sh @@ -14,14 +14,14 @@ get_objects() done }
-if [ "$1" == "libGP.a" ]; then - OBJECTS=$(get_objects) +if [ "$1" = "libGP.a" ]; then + OBJECTS=`get_objects`
ar rcs libGP.a $OBJECTS fi
-if [ "$1" == "libGP.so" ]; then - OBJECTS=$(get_objects) +if [ "$1" = "libGP.so" ]; then + OBJECTS=`get_objects`
gcc -fPIC -dPIC --shared -Wl,-soname -Wl,libGP.so.0 $OBJECTS -o libGP.so fi
-----------------------------------------------------------------------
Summary of changes: build/liblock.sh | 3 ++- build/link.sh | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.