Commit 91a3ca8d authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

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).
parent f5780115
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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment