summaryrefslogtreecommitdiff
path: root/scripts/restatic.sh
blob: f3f5b7a40719bdfff6a0e7d6423379fee5c706a8 (plain)
1
2
3
4
5
6
7
8
# Simple script to revert the changes made by destatic.sh

# Allow for the fact that mujs might not be present
MUJS_SRC=
test -d thirdparty/mujs && MUJS_SRC=thirdparty/mujs

# Convert it all back
sed -i 's!/\*static \*/!static !' $(find source platform/android/viewer platform/java $MUJS_SRC -name '*.c')