Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2ac64db

Browse files
committed
Prevent CVS from mangling script
1 parent3f850cb commit2ac64db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/tools/add_cvs_markers

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
# $PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.1 2008/06/15 21:46:02 adunstan Exp $
3+
# $PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.2 2008/06/15 21:58:55 adunstan Exp $
44

55
# Author: Andrew Dunstan
66

@@ -36,15 +36,15 @@ find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \
3636
{whileread file;do
3737
head -n 1<$file| grep -q'^/\*'&&echo$file
3838
done;echo dummy;}| \
39-
xargs -l sed -i -e'1s/^\// /' -e'1i/*\n *$PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.1 2008/06/15 21:46:02 adunstan Exp$ \n *'
39+
xargs -l sed -i -e'1s/^\// /' -e'1i/*\n *\x24PostgreSQL:$ \n *'
4040

4141
# now all the rest (i.e. the files that don't start with a comment)
4242

4343
{ find.\(\( -name'libstemmer' -o -name'expected' -o -name'ppport.h' \
4444
-o -name'regression.h' -o -name'sql3types.h' -o -name'sqlca.h'\) \
4545
-prune\) -o\( -name'*.[ch]'\)\( -exec grep -q'\$PostgreSQL' {}\; \
4646
-o -print\);echo dummy;}| \
47-
xargs -l sed -i -e'1i/*\n *$PostgreSQL: pgsql/src/tools/add_cvs_markers,v 1.1 2008/06/15 21:46:02 adunstan Exp$ \n */'
47+
xargs -l sed -i -e'1i/*\n *\x24PostgreSQL:$ \n */'
4848

4949
rm -f dummy
5050

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp