Skip to content
Snippets Groups Projects
Commit 041932c6 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

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
parent 30888f91
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment