Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
ffba91cd
Commit
ffba91cd
authored
23 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Make pgindent use GNU Indent version 2.X better.
parent
355cc69d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tools/pgindent/pgindent
+5
-5
5 additions, 5 deletions
src/tools/pgindent/pgindent
with
5 additions
and
5 deletions
src/tools/pgindent/pgindent
+
5
−
5
View file @
ffba91cd
...
@@ -14,18 +14,18 @@ then echo "Go to the src/tools/entab directory and do a 'make' and 'make install
...
@@ -14,18 +14,18 @@ then echo "Go to the src/tools/entab directory and do a 'make' and 'make install
echo
"Then run
$0
again."
echo
"Then run
$0
again."
exit
1
exit
1
fi
fi
indent
-
-version
</dev/null
>
/dev/null 2>&1
indent
-version
</dev/null
>
/dev/null 2>&1
if
[
"
$?
"
-eq
0
]
if
[
"
$?
"
-eq
0
]
then
echo
"You do not appear to have 'indent' installed on your system."
>
&2
then
echo
"You do not appear to have 'indent' installed on your system."
>
&2
exit
1
exit
1
fi
fi
indent
-
version
-npro
</dev/null
>
/dev/null 2>&1
indent
-
gnu
</dev/null
>
/dev/null 2>&1
if
[
"
$?
"
-eq
0
]
if
[
"
$?
"
-eq
0
]
then
echo
"You appear to have GNU indent rather than BSD indent."
>
&2
then
echo
"You appear to have GNU indent rather than BSD indent."
>
&2
echo
"See the pgindent/README file for a description of its problems."
>
&2
echo
"See the pgindent/README file for a description of its problems."
>
&2
EXTRA_OPTS
=
"-
n
cdb -bli0 -npcs -cli4"
EXTRA_OPTS
=
"-cdb -bli0 -npcs -cli4
-sc
"
else
echo
"Hope you installed /src/tools/pgindent/indent.bsd.patch."
>
&2
else
echo
"Hope you installed /src/tools/pgindent/indent.bsd.patch."
>
&2
EXTRA_OPTS
=
"
-bbb
-cli1"
EXTRA_OPTS
=
"-cli1"
fi
fi
for
FILE
for
FILE
...
@@ -67,7 +67,7 @@ do
...
@@ -67,7 +67,7 @@ do
# We get the list of typedef's from /src/tools/find_typedef
# We get the list of typedef's from /src/tools/find_typedef
indent
-bad
-bap
-bc
-bl
-d0
-cdb
-nce
-nfc1
-di12
-i4
-l75
\
indent
-bad
-bap
-bc
-bl
-d0
-cdb
-nce
-nfc1
-di12
-i4
-l75
\
-lp
-nip
-npro
$EXTRA_OPTS
\
-lp
-nip
-npro
-bbb
$EXTRA_OPTS
\
-TA_Const
\
-TA_Const
\
-TA_Expr
\
-TA_Expr
\
-TA_Indices
\
-TA_Indices
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment