Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c439756f
Commit
c439756f
authored
May 24, 2000
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the world safe for QNX's busted shell ...
parent
ae8a2c35
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
456 additions
and
444 deletions
+456
-444
src/configure
src/configure
+444
-438
src/configure.in
src/configure.in
+12
-6
No files found.
src/configure
View file @
c439756f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/configure.in
View file @
c439756f
...
...
@@ -103,17 +103,23 @@ else
# where the hostnamepattern is evaluated per the rules of expr(1) ---
# namely, it is a standard regular expression with an implicit ^ at the
# start. If multiple lines match, we will end up using the last match.
GUESS=""
exec 4<template/.similar
while read LINE <&4
#
# The tempfile hackery is needed because some shells will run the loop
# inside a subshell, whereupon shell variables set therein aren't seen
# outside the loop :-(
TMPFILE="guesses.$$"
cat /dev/null > $TMPFILE
while read LINE
do
SIMHOST=`expr "$LINE" : '\(.*\)='`
MATCH=`expr "$host" : "$SIMHOST"`
if test "$MATCH" != 0
then GUESS=`echo "$LINE" | sed 's/^.*=//'`
then
echo "$LINE" | sed 's/^.*=//' > $TMPFILE
fi
done
exec 4<&-
done <template/.similar
GUESS=`cat $TMPFILE`
rm -f $TMPFILE
if test "$GUESS"
then TEMPLATE="$GUESS"
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment