strip paths from the plug-in filename for installation (fixes #97111).

2002-10-29  Manish Singh  <yosh@gimp.org>

        * gimptool-1.3.in: strip paths from the plug-in filename for
        installation (fixes #97111).
This commit is contained in:
Manish Singh 2002-10-29 11:25:09 +00:00 committed by Manish Singh
parent f5780115a7
commit 91a3ca8da3
3 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2002-10-29 Manish Singh <yosh@gimp.org>
* gimptool-1.3.in: strip paths from the plug-in filename for
installation (fixes #97111).
2002-10-29 Sven Neumann <sven@gimp.org>
* app/tools/Makefile.am

View File

@ -243,8 +243,9 @@ while test $# -gt 0; do
--uninstall-* )
shift
if test "x$1" != "x"; then
if test -f "$install_dir/$1"; then
cmd="rm -f $DESTDIR$install_dir/$1"
dest=`echo $1 | sed -e 's#.*/\([^/].*\)$#\1#'`
if test -f "$DESTDIR$install_dir/$dest"; then
cmd="rm -f $DESTDIR$install_dir/$dest"
test $quiet = "yes" || echo $cmd
test $donothing = "yes" || exec $cmd
else
@ -260,7 +261,8 @@ while test $# -gt 0; do
shift
if test "x$1" != "x"; then
if test -r "$1"; then
cmd="$install_cmd $1 $DESTDIR$install_dir/$1"
dest=`echo $1 | sed -e 's#.*/\([^/].*\)$#\1#'`
cmd="$install_cmd $1 $DESTDIR$install_dir/$dest"
test $quiet = "yes" || echo $cmd
test $donothing = "yes" || exec $cmd
else

View File

@ -243,8 +243,9 @@ while test $# -gt 0; do
--uninstall-* )
shift
if test "x$1" != "x"; then
if test -f "$install_dir/$1"; then
cmd="rm -f $DESTDIR$install_dir/$1"
dest=`echo $1 | sed -e 's#.*/\([^/].*\)$#\1#'`
if test -f "$DESTDIR$install_dir/$dest"; then
cmd="rm -f $DESTDIR$install_dir/$dest"
test $quiet = "yes" || echo $cmd
test $donothing = "yes" || exec $cmd
else
@ -260,7 +261,8 @@ while test $# -gt 0; do
shift
if test "x$1" != "x"; then
if test -r "$1"; then
cmd="$install_cmd $1 $DESTDIR$install_dir/$1"
dest=`echo $1 | sed -e 's#.*/\([^/].*\)$#\1#'`
cmd="$install_cmd $1 $DESTDIR$install_dir/$dest"
test $quiet = "yes" || echo $cmd
test $donothing = "yes" || exec $cmd
else