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

Commit746330e

Browse files
committed
Better solution to the tr problem: use sed instead. Per Martijn and Andrew.
1 parent7ac9d45 commit746330e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎config/general.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/config/general.m4,v 1.8 2006/11/30 21:44:12 tgl Exp $
1+
# $PostgreSQL: pgsql/config/general.m4,v 1.9 2006/11/3022:21:23 tgl Exp $
22

33
# This file defines new macros to process configure command line
44
# arguments, to replace the brain-dead AC_ARG_WITH and AC_ARG_ENABLE.
@@ -82,7 +82,7 @@ AC_DEFUN([PGAC_ARG_CHECK],
8282
continue 2
8383
fi
8484
done
85-
pgac_txt=`echo $pgac_var |tr 'a_b' 'a-b'`
85+
pgac_txt=`echo $pgac_var |sed 's/_/-/g'`
8686
AC_MSG_WARN([option ignored: --$pgac_txt])
8787
done])# PGAC_ARG_CHECK
8888

‎configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24413,7 +24413,7 @@ for pgac_var in `set | sed 's/=.*//' | $EGREP 'with_|enable_'`; do
2441324413
continue 2
2441424414
fi
2441524415
done
24416-
pgac_txt=`echo $pgac_var |tr 'a_b' 'a-b'`
24416+
pgac_txt=`echo $pgac_var |sed 's/_/-/g'`
2441724417
{ echo "$as_me:$LINENO: WARNING: option ignored: --$pgac_txt" >&5
2441824418
echo "$as_me: WARNING: option ignored: --$pgac_txt" >&2;}
2441924419
done

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp