diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-02 11:49:16 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-02 11:49:16 +0200 |
commit | a0297738de9d1abe9bd92c0e8708f9b49e3a46a2 (patch) | |
tree | 281b4c8ac72b5206c1147ed2219d7dd42569bc59 /include/export-zshrc | |
parent | c8d6ee44b2a33b549a59d25aa287a8619f41075c (diff) |
export-zshrc: Save zshrc version in the tarball
Diffstat (limited to 'include/export-zshrc')
-rwxr-xr-x | include/export-zshrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/export-zshrc b/include/export-zshrc index 62e3852..3c81447 100755 --- a/include/export-zshrc +++ b/include/export-zshrc @@ -13,6 +13,7 @@ cp -a ~/packages/zsh/links packages/zsh mkdir -p packages/zsh/provided mkdir -p var/cache/zsh touch packages/zsh/provided/includes +echo ${${(z)$(git --git-dir=$HOME/packages/core/.git/ log -n 1)}[2]} > packages/zsh/version if [[ -n $(echo packages/zsh/etc/local*(N)) ]] { rm -f packages/zsh/etc/local* } |