diff --git a/gen-version.sh b/gen-version.sh index 3e6854e2..3cc7868b 100755 --- a/gen-version.sh +++ b/gen-version.sh @@ -3,14 +3,14 @@ echo '' > res/values/git-rev.xml echo '' >> res/values/git-rev.xml echo '' >> res/values/git-rev.xml echo 'Version information:' $* \\n >> res/values/git-rev.xml -echo 'android:' $(git log --abbrev-commit --pretty=oneline -1) '\n'\ +echo 'android:' $(git log --abbrev-commit --pretty=oneline -1) _endl \ 'engine:' $(cd jni/src/Xash3D/*/;git log --abbrev-commit --pretty=oneline -1) '\n'\ -'client:' $(cd jni/src/XashXT/*/;git log --abbrev-commit --pretty=oneline -1) ' \n'\ -'halflife:' $(cd jni/src/HLSDK/*/;git log --abbrev-commit --pretty=oneline -1) ' \n'\ -'SDL2:' $(cd jni/src/SDL2/*/;git log --abbrev-commit --pretty=oneline -1) '\n'\ -'TouchControls:' $(cd jni/src/MobileTouchControls/*/;git log --abbrev-commit --pretty=oneline -1) '\n'\ -'nanogl:' $(cd jni/src/NanoGL/*/;git log --abbrev-commit --pretty=oneline -1) '\n'\ - | sed -e s/\'/\\\\\'/g >> res/values/git-rev.xml +'client:' $(cd jni/src/XashXT/*/;git log --abbrev-commit --pretty=oneline -1) ' \\n'\ +'halflife:' $(cd jni/src/HLSDK/*/;git log --abbrev-commit --pretty=oneline -1) ' \\\n'\ +'SDL2:' $(cd jni/src/SDL2/*/;git log --abbrev-commit --pretty=oneline -1) \n \ +'TouchControls:' $(cd jni/src/MobileTouchControls/*/;git log --abbrev-commit --pretty=oneline -1) \\\n \ +'nanogl:' $(cd jni/src/NanoGL/*/;git log --abbrev-commit --pretty=oneline -1) \\\\n \ + | sed -e s/\'/\\\\\'/g -e s/_endl/'\\n'/ >> res/values/git-rev.xml echo '' >> res/values/git-rev.xml echo '' >> res/values/git-rev.xml cat res/values/git-rev.xml