summaryrefslogtreecommitdiff
path: root/source/d/automake
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/automake')
-rwxr-xr-xsource/d/automake/automake.SlackBuild2
-rw-r--r--source/d/automake/doinst.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/d/automake/automake.SlackBuild b/source/d/automake/automake.SlackBuild
index 21915f79..c67b2449 100755
--- a/source/d/automake/automake.SlackBuild
+++ b/source/d/automake/automake.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=automake
VERSION=${VERSION:-$(echo automake-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Note: the package is _built_ as 'noarch'
# Automatically determine architecture for build & packaging:
diff --git a/source/d/automake/doinst.sh b/source/d/automake/doinst.sh
index e50590c1..f21e4bdf 100644
--- a/source/d/automake/doinst.sh
+++ b/source/d/automake/doinst.sh
@@ -2,7 +2,7 @@
# "automake" item in info root structure, if we type "info".
if [ -x /usr/bin/install-info ] ; then
install-info --info-dir=/usr/info /usr/info/automake.info.gz 2>/dev/null
-elif fgrep "automake" usr/info/dir 1> /dev/null 2> /dev/null ; then
+elif grep -F "automake" usr/info/dir 1> /dev/null 2> /dev/null ; then
GOOD=yes # It seems to be entered in the /usr/info/dir already
else # add the info to the dir file directly:
cat << EOF >> usr/info/dir