diff options
author | Tom Lane | 2005-06-22 22:56:29 +0000 |
---|---|---|
committer | Tom Lane | 2005-06-22 22:56:29 +0000 |
commit | d20763dbee7cdf8a700bf6bdd120b3913a3b99f4 (patch) | |
tree | 5cb9ed9ba10cdbac226fd6b96ac02a2cc5a543a8 /contrib/tools/add-emacs-variables | |
parent | 4cc7a93d220644ae068ce2639b961db6764a68f6 (diff) |
Remove contrib modules that have been agreed to be obsolete.
(There are more that will be removed once they've been copied to
pgfoundry.org.)
Diffstat (limited to 'contrib/tools/add-emacs-variables')
-rwxr-xr-x | contrib/tools/add-emacs-variables | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/contrib/tools/add-emacs-variables b/contrib/tools/add-emacs-variables deleted file mode 100755 index 7b50aef6593..00000000000 --- a/contrib/tools/add-emacs-variables +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -# -# Add local variables to C sources files to set emacs C style to 4-space tabs. -# -# Usage: cd $PG_HOME && add-emacs-variables `find . -name \*.[chy] -print` - -for f in $*; do - if [ -L $f ] || grep -q '^ \* Local Variables:' $f; then - continue - fi - echo $f - touch -r $f /tmp/.add-local-variables.$$ - cat <<- ' EOF' >> $f - - /* - * Local Variables: - * tab-width: 4 - * c-indent-level: 4 - * c-basic-offset: 4 - * End: - */ - EOF - touch -r /tmp/.add-local-variables.$$ $f -done - -rm -f /tmp/.add-local-variables.$$ - -# end of file |