svn commit: r377005 - in head/astro: stellarium stellarium-qt4

Alexey Dokuchaev danfe at FreeBSD.org
Wed Jan 14 10:15:07 UTC 2015


Author: danfe
Date: Wed Jan 14 10:15:06 2015
New Revision: 377005
URL: https://svnweb.freebsd.org/changeset/ports/377005
QAT: https://qat.redports.org/buildarchive/r377005/

Log:
  Fix the logic so it actually works as intended.

Modified:
  head/astro/stellarium-qt4/Makefile
  head/astro/stellarium/Makefile

Modified: head/astro/stellarium-qt4/Makefile
==============================================================================
--- head/astro/stellarium-qt4/Makefile	Wed Jan 14 09:54:42 2015	(r377004)
+++ head/astro/stellarium-qt4/Makefile	Wed Jan 14 10:15:06 2015	(r377005)
@@ -84,8 +84,8 @@ post-install:
 		existing=`${STAT} -qf '%z' \
 			${STAGEDIR}${DATADIR}/textures/$$f || \
 			${ECHO_CMD} 0` ; \
-		${TEST} $$new -gt $$existing && \
-			${ECHO_CMD} "-- Replacing texture: $$f\
+		${TEST} $$new -gt $$existing || continue ; \
+		${ECHO_CMD} "-- Replacing texture: $$f\
 			(has larger file size or missing)" ; \
 		${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/textures ; \
 	done)

Modified: head/astro/stellarium/Makefile
==============================================================================
--- head/astro/stellarium/Makefile	Wed Jan 14 09:54:42 2015	(r377004)
+++ head/astro/stellarium/Makefile	Wed Jan 14 10:15:06 2015	(r377005)
@@ -64,8 +64,8 @@ post-install:
 		new=`${STAT} -f '%z' $$f` ; \
 		existing=`${STAT} -f '%z' \
 			${STAGEDIR}${DATADIR}/textures/$$f` ; \
-		${TEST} $$new -gt $$existing && \
-			${ECHO_CMD} "-- Replacing texture: $$f\
+		${TEST} $$new -gt $$existing || continue ; \
+		${ECHO_CMD} "-- Replacing texture: $$f\
 			(has larger file size)" ; \
 		${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/textures ; \
 	done)


More information about the svn-ports-all mailing list