From fff05a7cbcd602f7153c9ecbdac600a7bfa08c21 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 5 Sep 2002 11:03:54 +0000 Subject: [PATCH] fixed %install_info/%uninstall_info --- platform.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform.in b/platform.in index 7378766..f6145dc 100644 --- a/platform.in +++ b/platform.in @@ -246,7 +246,7 @@ @alt@ @alt@%install_info() \ @alt@for f in %*; do \ -@alt@ if [ "$f" = "${f%/*}" ]; then \ +@alt@ if [ "$f" = "${f##*/}" ]; then \ @alt@ f="%_infodir/$f" \ @alt@ fi \ @alt@ %__install_info --dir-file="${f%/*}/dir" --info-file="$f" \ @@ -256,7 +256,7 @@ @alt@%uninstall_info() \ @alt@if [ $1 = 0 ]; then \ @alt@ for f in %*; do \ -@alt@ if [ "$f" = "${f%/*}" ]; then \ +@alt@ if [ "$f" = "${f##*/}" ]; then \ @alt@ f="%_infodir/$f" \ @alt@ fi \ @alt@ %__install_info --delete --dir-file="${f%/*}/dir" --info-file="$f" \