From 75a76280af75781a080842c31104df2478450259 Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Sat, 23 May 2009 12:42:23 +0000 Subject: [PATCH] fix zzip-postinstall --- ChangeLog | 1 + Makefile.am | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 01b8a8b..73626d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,7 @@ the example code, SDL_rwops_zzip includes and SDL_rwops_zzip pkgconfig * append "make check" and "make test-sdl" to zziplib.spec for minimal pre-installation check. + * Makefile.am: fix zzip-postinstall 2009-05-22 guidod * docs/Makefile.am: break a dual target into two lines as diff --git a/Makefile.am b/Makefile.am index 613e85b..61ff77a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -118,9 +118,9 @@ zzip-postinstall: : "the 12.8x and 11.8x and 10.8x packages are all the same actually" cd $(DESTDIR)$(libdir) || exit 1 \ ; for i in libzzip*.so.1? ; do : \ - ; v10=`echo $i | sed -e "s/.so.../.so.10/"` \ - ; v11=`echo $i | sed -e "s/.so.../.so.11/"` \ - ; v12=`echo $i | sed -e "s/.so.../.so.12/"` \ - ; test ! -e $v10 && test -e $v12 && ln -s $v12 $v10 \ - ; test ! -e $v12 && test -e $v10 && ln -s $v10 $v12 \ - ; ln -s $v10 $v11 || true; done + ; v10=`echo $$i | sed -e "s/.so.../.so.10/"` \ + ; v11=`echo $$i | sed -e "s/.so.../.so.11/"` \ + ; v12=`echo $$i | sed -e "s/.so.../.so.12/"` \ + ; test ! -e $$v10 && test -e $$v12 && test "$v10" != "$v12" && ln -s $$v12 $$v10 \ + ; test ! -e $$v12 && test -e $$v10 && test "$v12" != "$v10" && ln -s $$v10 $$v12 \ + ; test "$v10" != "$v11" && ln -s $v10 $v11 || true; done -- 2.40.0