summaryrefslogtreecommitdiffstats
path: root/set_mod_bits.sh
diff options
context:
space:
mode:
authorBert Lange <b.lange@fzd.de>2011-03-28 14:41:07 +0200
committerBert Lange <b.lange@fzd.de>2011-03-28 14:41:07 +0200
commitb747fed62ab12dc81dc5e65b3474b607778cef18 (patch)
treea29d67c88cf143175149f6a9ec05cd80a9b5d444 /set_mod_bits.sh
parent46176db31d83149bcd4683bbfe806adb4467158d (diff)
downloadzpu-b747fed62ab12dc81dc5e65b3474b607778cef18.zip
zpu-b747fed62ab12dc81dc5e65b3474b607778cef18.tar.gz
just update
Diffstat (limited to 'set_mod_bits.sh')
-rw-r--r--set_mod_bits.sh34
1 files changed, 34 insertions, 0 deletions
diff --git a/set_mod_bits.sh b/set_mod_bits.sh
new file mode 100644
index 0000000..410743c
--- /dev/null
+++ b/set_mod_bits.sh
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+find -iname *.vhd -type f -executable -print0 | xargs -0 chmod -x
+
+find -iname *.txt -type f -executable -print0 | xargs -0 chmod -x
+find -iname *.pdf -type f -executable -print0 | xargs -0 chmod -x
+find -iname *.png -type f -executable -print0 | xargs -0 chmod -x
+find -iname *.vym -type f -executable -print0 | xargs -0 chmod -x
+
+find -iname *.ucf -type f -executable -print0 | xargs -0 chmod -x
+find -iname *.bmm -type f -executable -print0 | xargs -0 chmod -x
+find -iname *.cmd -type f -executable -print0 | xargs -0 chmod -x
+find -iname *.xise -type f -executable -print0 | xargs -0 chmod -x
+
+find -iname *.log -type f -executable -print0 | xargs -0 chmod -x
+find -iname modelsim.ini -type f -executable -print0 | xargs -0 chmod -x
+
+find -iname *.c -type f -executable -print0 | xargs -0 chmod -x
+find -iname *.h -type f -executable -print0 | xargs -0 chmod -x
+
+find -iname Makefile -type f -executable -print0 | xargs -0 chmod -x
+find -iname *.do -type f -executable -print0 | xargs -0 chmod -x
+
+find -iname *.tar.gz -type f -executable -print0 | xargs -0 chmod -x
+
+
+# fix group
+find -not -group None -print0 | xargs -0 chown :None
+
+# svn stuff
+DIR=beam_position_monitor
+find $DIR -type f -name "*.vhd" -exec svn propset svn:keywords "Date Author Id Revision HeadURL" {} \;
+find $DIR -type f -name "*.h" -exec svn propset svn:keywords "Date Author Id Revision HeadURL" {} \;
+find $DIR -type f -name "*.c" -exec svn propset svn:keywords "Date Author Id Revision HeadURL" {} \;
OpenPOWER on IntegriCloud