SF.net SVN: gar:[25997] csw/mgar/gar/v2

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Sat Oct 22 09:45:48 CEST 2016


Revision: 25997
          http://sourceforge.net/p/gar/code/25997
Author:   cgrzemba
Date:     2016-10-22 07:45:48 +0000 (Sat, 22 Oct 2016)
Log Message:
-----------
fix md5sum binary selection

Modified Paths:
--------------
    csw/mgar/gar/v2/gar.lib.mk
    csw/mgar/gar/v2/gar.mk

Modified: csw/mgar/gar/v2/gar.lib.mk
===================================================================
--- csw/mgar/gar/v2/gar.lib.mk	2016-10-21 08:53:30 UTC (rev 25996)
+++ csw/mgar/gar/v2/gar.lib.mk	2016-10-22 07:45:48 UTC (rev 25997)
@@ -11,7 +11,7 @@
 #
 
 # md5sum ?= md5sum
-md5sum ?= $(if $(filter no%,$(shell which md5sum)),gmd5sum,md5sum)
+md5sum ?= $(if $(filter no%,$(shell which md5sum)),gmd5sum,$(shell which md5sum))
 # cookies go here, so we have to be able to find them for
 # dependency checking.
 VPATH += $(COOKIEDIR)

Modified: csw/mgar/gar/v2/gar.mk
===================================================================
--- csw/mgar/gar/v2/gar.mk	2016-10-21 08:53:30 UTC (rev 25996)
+++ csw/mgar/gar/v2/gar.mk	2016-10-22 07:45:48 UTC (rev 25997)
@@ -11,7 +11,7 @@
 # Comment this out to make much verbosity
 #.SILENT:
 
-md5sum ?= $(if $(filter no%,$(shell which md5sum)),gmd5sum,md5sum)
+md5sum ?= $(if $(filter no%,$(shell which md5sum)),gmd5sum,$(shell which md5sum))
 
 ifneq ($(abspath /),/)
 $(error Your version of 'make' is too old: $(MAKE_VERSION). Please make sure you are using at least 3.81)

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