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 0a1577d93e3b866dda65e0aac1831b015628d4ca (commit) from 388daed53031b9c5e256025809e9d10c3849708c (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/0a1577d93e3b866dda65e0aac1831b015628d...
commit 0a1577d93e3b866dda65e0aac1831b015628d4ca Author: Cyril Hrubis metan@ucw.cz Date: Wed Jan 2 22:16:30 2013 +0100
build: Fix the install script.
It's a little hacked together but at least it works now.
diff --git a/install.sh b/install.sh index c0273e0..b0d3873 100755 --- a/install.sh +++ b/install.sh @@ -3,7 +3,7 @@ INSTALL_PREFIX="$1"
if test -z "$INSTALL_PREFIX"; then - INSTALL_PREFIX="/usr/" + INSTALL_PREFIX="/usr" fi
HEADER_LOC="$INSTALL_PREFIX/include/" @@ -26,7 +26,16 @@ done # Library echo "INSTALL libraries" install -m 775 -d "$LIB_LOC" -install -m 664 build/*.so build/*.so.0 build/*.a "$LIB_LOC" + +for i in build/*.so build/*.so.* build/*.a; do + if [ -L "$i" ]; then + TARGET=`basename "$i"` + SOURCE=`readlink "$i"` + (cd "$LIB_LOC" && rm -f "$TARGET" && ln -s "$LIB_LOC$SOURCE" "$TARGET") + else + install "$i" "$LIB_LOC" + fi +done
# Binaries echo "INSTALL binaries"
-----------------------------------------------------------------------
Summary of changes: install.sh | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 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.