]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(uninstall-local): Search for @GNU_PACKAGE@,
authorJim Meyering <jim@meyering.net>
Mon, 8 Jul 2002 12:26:59 +0000 (12:26 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 8 Jul 2002 12:26:59 +0000 (12:26 +0000)
rather than the hard-coded `sh-utils'.

src/Makefile.am

index 26e36647ce38941be55a257f977aa279cf9dd0d0..beeb8d7e59496aeff391aa985be585ffc35639de 100644 (file)
@@ -119,7 +119,7 @@ install-exec-local: su
 
 uninstall-local:
 # Remove su only if it's one we installed.
-       @if grep 'GNU sh-utils' $(installed_su) > /dev/null 2>&1; then \
+       @if grep '@GNU_PACKAGE@' $(installed_su) > /dev/null 2>&1; then \
          echo "  rm -f $(installed_su)"; \
          rm -f $(installed_su); \
        else :; fi