diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-06-25 19:17:16 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-06-25 19:17:16 +0000 |
commit | 041932c6c6f2798bcbe3a975cf9324dd0bc5fae9 (patch) | |
tree | f4cc5323e8bdcfd7182155a43ef7ba11a7d45996 /sounds | |
parent | 30888f913d3b734f3d16b3cb7507b9e6f69be86c (diff) |
Symlink sounds files, to save disk space, when multiple tarballs/checkouts are on the same system.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@272533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'sounds')
-rw-r--r-- | sounds/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sounds/Makefile b/sounds/Makefile index eb638b663..087eb9620 100644 --- a/sounds/Makefile +++ b/sounds/Makefile @@ -83,7 +83,7 @@ $$($(1))/.asterisk-$(2)$(if $(3),-$(3),)-%: have_download && $$(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 @@ asterisk-$(1)-%.tar.gz: have_download && $$(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 |