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

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


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

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

Modified: csw/mgar/pkg/postgresql/branches/postgresql-9.1/Makefile
===================================================================
--- csw/mgar/pkg/postgresql/branches/postgresql-9.1/Makefile	2013-04-06 07:42:17 UTC (rev 20603)
+++ csw/mgar/pkg/postgresql/branches/postgresql-9.1/Makefile	2013-04-06 07:42:40 UTC (rev 20604)
@@ -562,15 +562,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.1/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/postgresql/branches/postgresql-9.1/files/changelog.CSW	2013-04-06 07:42:17 UTC (rev 20603)
+++ csw/mgar/pkg/postgresql/branches/postgresql-9.1/files/changelog.CSW	2013-04-06 07:42:40 UTC (rev 20604)
@@ -1,4 +1,4 @@
-postgresql91 (9.1.9,REV=2013.04.05)
+postgresql91 (9.1.9,REV=2013.04.06)
 
   * New upstream release 9.1.9.
 

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