]> git.saurik.com Git - cycript.git/blobdiff - GNUmakefile.in
Display a useful message from JavaScript exceptions.
[cycript.git] / GNUmakefile.in
index 01a0f0eb7d8fd46170641b687d45e55874d18ea3..c1f81b5ce6bb1995d2233b4f2c89175e28baa6fc 100644 (file)
@@ -138,7 +138,7 @@ control.tmp: control.in .libs/cycript .libs/$(lib)cycript.so
        $(sed) -e 's/&/'"$$(dpkg-query -S $$(ldd cycript $(lib)cycript.so | $(sed) -e '/:$$/ d; s/^[ \t]*\([^ ]* => \)\?\([^ ]*\) .*/\2/' | sort -u) 2>/dev/null | $(sed) -e 's/:.*//; /^cycript$$/ d; s/$$/,/' | sort -u | tr '\n' ' ')"'/;s/, $$//;s/#/$(version)/;s/%/$(arch)/' $< >$@
 else
 control.tmp: control.in
-       $(sed) -e 's/&/$(foreach depend,$(depends),$(depend),)/;s/,$$//;s/#/$(version)/;s/%/$(arch)/' $< >$@
+       $(sed) -e 's/&/$(depends)/;s/,$$//;s/#/$(version)/;s/%/$(arch)/' $< >$@
 endif
 endif