[asterisk-commits] tilghman: trunk r272533 - /trunk/sounds/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 25 14:17:20 CDT 2010


Author: tilghman
Date: Fri Jun 25 14:17:16 2010
New Revision: 272533

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=272533
Log:
Symlink sounds files, to save disk space, when multiple tarballs/checkouts are on the same system.

Modified:
    trunk/sounds/Makefile

Modified: trunk/sounds/Makefile
URL: http://svnview.digium.com/svn/asterisk/trunk/sounds/Makefile?view=diff&rev=272533&r1=272532&r2=272533
==============================================================================
--- trunk/sounds/Makefile (original)
+++ trunk/sounds/Makefile Fri Jun 25 14:17:16 2010
@@ -83,7 +83,7 @@
 	       && $$(SHA1SUM) -c --status $$$${PACKAGE}.sha1) || $(BS)
 	     (echo "Bad checksum: $$$${PACKAGE}" 1>&2; exit 1)); $(BS)
 	  fi; $(BS)
-	  cp -p $$(SOUNDS_CACHE_DIR)/$$$${PACKAGE} .; $(BS)
+	  $(LN) -sf $$(SOUNDS_CACHE_DIR)/$$$${PACKAGE} .; $(BS)
 	fi; $(BS)
 $(if $($(4)_VERSION),\
 $(EMPTY)	rm -f $$(subst -$$($(4)_VERSION),,$$@)-* && $(BS)
@@ -100,7 +100,7 @@
 	       && $$(SHA1SUM) -c --status $$@.sha1) || $(BS)
 	     (echo "Bad checksum: $$@" 1>&2; exit 1)); $(BS)
 	  fi; $(BS)
-	  cp -p $$(SOUNDS_CACHE_DIR)/$$@ .; $(BS)
+	  $(LN) -sf $$(SOUNDS_CACHE_DIR)/$$@ .; $(BS)
 	fi
 endef
 




More information about the asterisk-commits mailing list