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

Commitab432f2

Browse files
committed
Fix unportable use of '!' in shell commands.
1 parentaa44078 commitab432f2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

‎Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
allcheckinstallinstalldirsinstallcheckuninstalldepdependcleandistcleanmaintainer-clean:
15-
@if! [-f GNUmakefile ];then\
15+
@if[!-f GNUmakefile ];then\
1616
echo"You need to run the 'configure' program first. See the file";\
1717
echo"'INSTALL' for installation instructions.";\
1818
false;\

‎src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
allcheckinstallinstalldirsinstallcheckuninstalldepdependcleandistcleanmaintainer-clean:
15-
@if! [-f GNUmakefile ];then\
15+
@if[!-f GNUmakefile ];then\
1616
echo"You need to run the 'configure' program first. See the file";\
1717
echo"'INSTALL' for installation instructions.";\
1818
false;\

‎src/interfaces/python/GNUmakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Written by Peter Eisentraut <peter_e@gmx.net>
66
#
7-
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.2 2000/08/31 16:12:01 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.3 2000/12/30 00:24:09 petere Exp $
88
#
99
#-------------------------------------------------------------------
1010

@@ -34,8 +34,8 @@ Setup.in: Setup.in.raw
3434

3535
install: all
3636
@echo"Installing Python module"
37-
@if!($(INSTALL_DATA) pg.py$(python_moduledir)&& \
38-
$(MAKE) -f Makefile install );then\
37+
@if ($(INSTALL_DATA) pg.py$(python_moduledir)&& \
38+
$(MAKE) -f Makefile install );then:;else\
3939
echo"*****";\
4040
echo"* Skipping the installation of the Python interface module for lack";\
4141
echo"* of permissions. To install it, change to the directory";\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp