use test -r instead of test -e for portability
-Yosh
This commit is contained in:
parent
20ce6fd781
commit
62ccd3bfd1
3 changed files with 8 additions and 4 deletions
|
|
@ -1,3 +1,7 @@
|
|||
Sun May 31 15:35:33 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gimptool.in: use test -r instead of test -e for portability
|
||||
|
||||
Sun May 31 08:03:54 EDT 1998 Matthew Wilson <msw@gimp.org>
|
||||
|
||||
* plug-ins/exchange/exchange.c: fix from sjburges to stop
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ while test $# -gt 0; do
|
|||
esac
|
||||
shift
|
||||
if test "x$1" != "x"; then
|
||||
if test -e "$1"; then
|
||||
if test -r "$1"; then
|
||||
cmd="$install_cmd $1 $install_dir/$1"
|
||||
echo $cmd
|
||||
exec $cmd
|
||||
|
|
@ -124,7 +124,7 @@ while test $# -gt 0; do
|
|||
fi
|
||||
shift
|
||||
if test "x$1" != "x"; then
|
||||
if test -e "$1"; then
|
||||
if test -r "$1"; then
|
||||
cmd="$cc $cflags $includes `$gtk_config --cflags` -o $install_dir/`echo $1|sed 's/\.[^\.]*$//'` $1 -L@libdir@ -lgimpui -lgimp `$gtk_config --libs`"
|
||||
echo $cmd
|
||||
exec $cmd
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ while test $# -gt 0; do
|
|||
esac
|
||||
shift
|
||||
if test "x$1" != "x"; then
|
||||
if test -e "$1"; then
|
||||
if test -r "$1"; then
|
||||
cmd="$install_cmd $1 $install_dir/$1"
|
||||
echo $cmd
|
||||
exec $cmd
|
||||
|
|
@ -124,7 +124,7 @@ while test $# -gt 0; do
|
|||
fi
|
||||
shift
|
||||
if test "x$1" != "x"; then
|
||||
if test -e "$1"; then
|
||||
if test -r "$1"; then
|
||||
cmd="$cc $cflags $includes `$gtk_config --cflags` -o $install_dir/`echo $1|sed 's/\.[^\.]*$//'` $1 -L@libdir@ -lgimpui -lgimp `$gtk_config --libs`"
|
||||
echo $cmd
|
||||
exec $cmd
|
||||
|
|
|
|||
Loading…
Reference in a new issue