Yucom/vrclient_x64/make_sdks.sh

13 lines
367 B
Bash
Raw Normal View History

2018-01-18 20:29:49 +01:00
#!/bin/bash
#run from within openvr.git
for f in $(git tag); do
mkdir openvr_$f
2018-12-14 20:20:13 +01:00
git show $f:./headers/openvr.h | grep -av 'pragma once' > openvr_$f/openvr.h
git show $f:./src/ivrclientcore.h | grep -av 'pragma once' > openvr_$f/ivrclientcore.h
2018-01-18 20:29:49 +01:00
if [ x"$(head openvr_$f/ivrclientcore.h)" = x"" ]; then
rm openvr_$f/ivrclientcore.h
fi
done