Codebase list dict-foldoc / 1e45334
Fixup URL for upstream files Permanently moved error codeā€¦ Iustin Pop 5 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
77
88 get-orig-source:
99 set -ex; tempdir=$$(mktemp -d); \
10 udate=$$(curl -s -I https://foldoc.org/Dictionary.txt| \
10 udate=$$(curl -s -I https://foldoc.org/Dictionary| \
1111 sed -n 's/^[Ll]ast-[Mm]odified: //p'); \
1212 uver=$$(date -d "$$udate" +"%Y%m%d"); \
1313 fdir="$$tempdir/dict-foldoc-$$uver"; \
1414 mkdir "$$fdir"; \
15 curl -s -f -o $$fdir/Dictionary https://foldoc.org/Dictionary.txt; \
15 curl -s -f -o $$fdir/Dictionary https://foldoc.org/Dictionary; \
1616 tar czf dict-foldoc-$$uver.tar.gz -C $$tempdir .; \
1717 rm -rf $$tempdir
1818