Yucom/vrclient_x64/make_sdks.sh
2018-01-18 13:29:49 -06:00

12 lines
365 B
Bash
Executable file

#!/bin/bash
#run from within openvr.git
for f in $(git tag); do
mkdir openvr_$f
git show $f:./headers/openvr.h | grep -v 'pragma once' > openvr_$f/openvr.h
git show $f:./src/ivrclientcore.h | grep -v 'pragma once' > openvr_$f/ivrclientcore.h
if [ x"$(head openvr_$f/ivrclientcore.h)" = x"" ]; then
rm openvr_$f/ivrclientcore.h
fi
done