use test -r instead of test -e for portability

-Yosh
This commit is contained in:
Manish Singh 1998-05-31 22:52:07 +00:00
parent 20ce6fd781
commit 62ccd3bfd1
3 changed files with 8 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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