<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 01/02/2012 18:20, Greg Troxel wrote:
<blockquote cite="mid:rmisjiuv5bi.fsf@fnord.ir.bbn.com" type="cite">
<pre wrap="">
This is probably not your problem, but [[ is non specified by posix and
thus non-portable.
while [[ $v -le ]]; do \
It looks like the second comparison arg is underquoted; try adding ""
around it.
</pre>
</blockquote>
Greg, it worked with but Im still getting the first two comments
(expr: non-integer argument) that make me worried:
<br>
<br>
linux-8hd6:/mnt/tmp/postgis-2.0.0alpha3SVN/extensions/postgis # make
install
<br>
expr: non-integer argument
<br>
expr: non-integer argument
<br>
if test "3SVNx" != "x"; then \
<br>
v=; \
<br>
while [[ $v -ge 1 ]]; do \
<br>
cp -v sql_bits/postgis_upgrade_minor.sql
sql/postgis--2.0.0alphaSVN$v--2.0.0alpha3SVN.sql; \
<br>
v=$(($v-1)); \
<br>
done; \
<br>
else \
<br>
if test 0SVN -gt 0; then \
<br>
v=0; \
<br>
while [[ $v -le "" ]]; do \
<br>
cp -v sql_bits/postgis_upgrade_minor.sql
sql/postgis--2.0.$v--2.0.0alpha3SVN.sql; \
<br>
v=$(($v+1)); \
<br>
done; \
<br>
fi; \
<br>
fi
<br>
/bin/mkdir -p '/usr/share/postgresql/extension'
<br>
<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>bin/sh
/usr/lib/postgresql/pgxs/src/makefiles<span class="moz-txt-tag">/</span></i>../../config/install-sh
-c -m 644 .<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>postgis.control
'/usr/share/postgresql/extension<span class="moz-txt-tag">/</span></i>'
<br>
<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>bin/sh
/usr/lib/postgresql/pgxs/src/makefiles<span class="moz-txt-tag">/</span></i>../../config/install-sh
-c -m 644 ./sql/postgis--2.0.0alpha3SVN.sql .<i
class="moz-txt-slash"><span class="moz-txt-tag">/</span>sql/postgis--2.0.0alpha3SVN.sql
'/usr/share/postgresql/extension<span class="moz-txt-tag">/</span></i>'
<br>
<br>
</body>
</html>