mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
22 lines
1014 B
Bash
Executable File
22 lines
1014 B
Bash
Executable File
#! /bin/sh
|
|
# Use this script to set data files svn properties quickly
|
|
# ----------------------------------------------------------------------------
|
|
# Written by Mark Vejvoda <mark_vejvoda@hotmail.com>
|
|
# Copyright (c) 2013 Mark Vejvoda under GNU GPL v3.0+
|
|
|
|
CURRENTDIR="$(dirname $(readlink -f $0))"
|
|
|
|
# LNG files
|
|
#find ${CURRENTDIR}/../../data/glest_game/ -name "*\.lng" -exec echo {} \;
|
|
find ${CURRENTDIR}/../../data/glest_game/ -iname '*.lng' -exec svn propset svn:mime-type text/plain '{}' \;
|
|
find ${CURRENTDIR}/../../data/glest_game/ -iname '*.lng' -exec svn propset svn:eol-style native '{}' \;
|
|
|
|
# XML files
|
|
find ${CURRENTDIR}/../../data/glest_game/ -iname '*.xml' -exec svn propset svn:mime-type application/xml '{}' \;
|
|
#find ${CURRENTDIR}/../../data/glest_game/ -iname '*.xml' -exec svn propset svn:eol-style native '{}' \;
|
|
|
|
# shell scripts
|
|
find ${CURRENTDIR}/ -iname '*.sh' -exec svn propset svn:mime-type text/plain '{}' \;
|
|
find ${CURRENTDIR}/ -iname '*.sh' -exec svn propset svn:eol-style native '{}' \;
|
|
|