summaryrefslogtreecommitdiffstats
path: root/source/a/ed/ed.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/ed/ed.SlackBuild')
-rwxr-xr-xsource/a/ed/ed.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/a/ed/ed.SlackBuild b/source/a/ed/ed.SlackBuild
index 72f47141e..298c13fa9 100755
--- a/source/a/ed/ed.SlackBuild
+++ b/source/a/ed/ed.SlackBuild
@@ -28,7 +28,7 @@ BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
@@ -46,7 +46,7 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf ${PKGNAM}-${VERSION}
tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z* || exit 1
-cd ${PKGNAM}-$VERSION
+cd ${PKGNAM}-$VERSION || exit 1
# Make sure ownerships and permissions are sane:
chown -R root:root .
@@ -61,7 +61,7 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--infodir=/usr/info \
- --mandir=/usr/man
+ --mandir=/usr/man || exit 1
# Build and install:
make $NUMJOBS || make || exit 1