monotone

monotone Mtn Source Tree

Root/do-editor-vars.sh

  • Property mtn:execute set to true
1#!/bin/sh
2
3for file in $(ls *cc *hh unix/*cc unix/*hh win32/*cc win32/*hh 2>/dev/null | sort); do
4 if ! grep -q 'Local Variables' $file; then
5echo "Adding vars block to $file"
6cat <<EOF >> $file
7
8
9// Local Variables:
10// mode: C++
11// fill-column: 76
12// c-file-style: "gnu"
13// indent-tabs-mode: nil
14// End:
15// vim: et:sw=2:sts=2:ts=2:cino=>2s,{s,\:s,+s,t0,g0,^-2,e-2,n-2,p2s,(0,=s:
16
17EOF
18 fi;
19done

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status