mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
- added a new script that sets svn properties for lng and sh files
This commit is contained in:
parent
d7eaeaead5
commit
00eb9a9561
17
mk/linux/mg_setsvnprops.sh
Executable file
17
mk/linux/mg_setsvnprops.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#! /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/ -name "*\.lng" -exec svn propset svn:mime-type text/plain {} \;
|
||||
find ${CURRENTDIR}/../../data/glest_game/ -name "*\.lng" -exec svn propset svn:eol-style native {} \;
|
||||
|
||||
# scripts
|
||||
find ${CURRENTDIR}/ -name "*\.sh" -exec svn propset svn:mime-type text/plain {} \;
|
||||
find ${CURRENTDIR}/ -name "*\.sh" -exec svn propset svn:eol-style native {} \;
|
||||
|
Loading…
x
Reference in New Issue
Block a user