topdir.mk: Add target echo-hash to topdir.mk

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2018-12-16 18:45:24 +00:00
commit 823840d823

View file

@ -167,3 +167,6 @@ list-text-files echo-text-files:
git-ssh-%: git-ssh-%:
bash -c "`git remote get-url --push $* | sed 's|ssh://||; s|\([^/]\+\)/\(.*\)|LC_CDPATH=/\2 ssh -o SendEnv=LC_CDPATH \1|'`" bash -c "`git remote get-url --push $* | sed 's|ssh://||; s|\([^/]\+\)/\(.*\)|LC_CDPATH=/\2 ssh -o SendEnv=LC_CDPATH \1|'`"
git-ssh: git-ssh-origin git-ssh: git-ssh-origin
echo-hash:
@/bin/bash $(MOD_SCRIPT_DIR)/pkg.sh hash