git update-index --assume-unchanged res/values/git-rev.xml echo '' > res/values/git-rev.xml echo '' >> res/values/git-rev.xml echo -n '' >> res/values/git-rev.xml echo -n 'Version information: ' $*_endl| sed -e s/_endl/'\\n'/ >> res/values/git-rev.xml echo -n 'android:' $(git log --abbrev-commit --pretty=oneline -1) _endl\ 'engine:' $(cd jni/src/Xash3D/*/;git log --abbrev-commit --pretty=oneline -1) _endl\ 'hlsdk:' $(cd jni/src/hlsdk-xash3d/;git log --abbrev-commit --pretty=oneline -1) _endl\ 'SDL2:' $(cd jni/src/SDL2/*/;git log --abbrev-commit --pretty=oneline -1) _endl\ 'extras:' $(cd xash-extras/;git log --abbrev-commit --pretty=oneline -1) _endl\ 'nanogl:' $(cd jni/src/NanoGL/*/;git log --abbrev-commit --pretty=oneline -1)_endl\ | sed -e s/\'//g -e s/_endl/'\\n'/g >> res/values/git-rev.xml echo -n $USER@$(hostname) $(date +%H:%M:%S-%d-%m-%y) >> res/values/git-rev.xml echo '' >> res/values/git-rev.xml echo '' >> res/values/git-rev.xml cat res/values/git-rev.xml