aboutsummaryrefslogtreecommitdiffstats
path: root/sounds
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-25 19:24:01 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-25 19:24:01 +0000
commit3edf9595f43227c3953ec3ea79c0d31e692fbb82 (patch)
tree07823d2aceadfa40b4ab6cbe0e03d71b9faab7f1 /sounds
parenta3a4d3061dc9bbfae8f387fe9295a1cbe94db748 (diff)
Merged revisions 272533 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r272533 | tilghman | 2010-06-25 14:17:16 -0500 (Fri, 25 Jun 2010) | 2 lines Symlink sounds files, to save disk space, when multiple tarballs/checkouts are on the same system. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@272556 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'sounds')
-rw-r--r--sounds/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sounds/Makefile b/sounds/Makefile
index 0d1adeb81..f0beabd3c 100644
--- a/sounds/Makefile
+++ b/sounds/Makefile
@@ -82,7 +82,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)
@@ -98,7 +98,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