[csw-devel] SF.net SVN: gar:[20603] csw/mgar/pkg/postgresql/branches/postgresql-9.0

guengel at users.sourceforge.net guengel at users.sourceforge.net
Sat Apr 6 09:42:18 CEST 2013


Revision: 20603
          http://gar.svn.sourceforge.net/gar/?rev=20603&view=rev
Author:   guengel
Date:     2013-04-06 07:42:17 +0000 (Sat, 06 Apr 2013)
Log Message:
-----------
postgresql/branches/postgresql-9.0: Fixed man page renaming.

Modified Paths:
--------------
    csw/mgar/pkg/postgresql/branches/postgresql-9.0/Makefile
    csw/mgar/pkg/postgresql/branches/postgresql-9.0/files/changelog.CSW

Modified: csw/mgar/pkg/postgresql/branches/postgresql-9.0/Makefile
===================================================================
--- csw/mgar/pkg/postgresql/branches/postgresql-9.0/Makefile	2013-04-06 07:41:51 UTC (rev 20602)
+++ csw/mgar/pkg/postgresql/branches/postgresql-9.0/Makefile	2013-04-06 07:42:17 UTC (rev 20603)
@@ -502,15 +502,12 @@
 		for f in $(PKGROOT)$(datadir)/man/man$$i/* ; do \
 			suffix="`echo $$f | awk 'BEGIN { FS="." } { print $$NF }'`" ; \
 			f_no_suffix="`echo $$f | sed -e "s/\.$${suffix}$$//"`" ; \
-			dont_move=0 ; \
-			for d in $(BIN_NAMES_DEVEL) ; do \
-				bname="`basename $${f_no_suffix}`" ; \
-				if test "$${bname}" = "$$d" ; then \
-					dont_move=1 ; \
-					break ; \
-				fi ; \
-			done ; \
-			test $${dont_move} -eq 0 && mv $$f $${f_no_suffix}-$(BASE_VERSION_NODOT).$${suffix} ; \
+			bname="`basename $${f_no_suffix}`" ; \
+			if echo $${bname} | ggrep -- '-$(BASE_VERSION_NODOT)$$' >/dev/null 2>&1 ; then \
+				: ; \
+			else \
+				mv $$f $${f_no_suffix}-$(BASE_VERSION_NODOT).$${suffix} ; \
+			fi ; \
 		done ;\
 	done
 # Change path names in documentation

Modified: csw/mgar/pkg/postgresql/branches/postgresql-9.0/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/postgresql/branches/postgresql-9.0/files/changelog.CSW	2013-04-06 07:41:51 UTC (rev 20602)
+++ csw/mgar/pkg/postgresql/branches/postgresql-9.0/files/changelog.CSW	2013-04-06 07:42:17 UTC (rev 20603)
@@ -1,6 +1,6 @@
-postgresql90 (9.0.13,REV=2013.04.05)
+postgresql90 (9.0.13,REV=2013.04.06)
 
-  * New upstream release 9.0.13
+  * New upstream release 9.0.13.
 
  -- Rafael Ostertag <raos at opencsw.org>  Fri, 05 Apr 2013 10:36:50 +0200
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list