summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien BALLET <slacker6896@gmail.com>2017-07-15 07:05:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-15 07:05:33 +0700
commit0650fec335e00fb1f633379e23815887ecf33d72 (patch)
treebf3c8591217d6bbc0374fc425acf22a330f9080d
parentfbe7256b238a096d334c3372eea6f382191f9dd6 (diff)
downloadslackbuilds-0650fec335e00fb1f633379e23815887ecf33d72.tar.gz
network/squidanalyzer: Fix ownership.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/squidanalyzer/squidanalyzer.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/squidanalyzer/squidanalyzer.SlackBuild b/network/squidanalyzer/squidanalyzer.SlackBuild
index e3fa3816cd..3a759a27a5 100644
--- a/network/squidanalyzer/squidanalyzer.SlackBuild
+++ b/network/squidanalyzer/squidanalyzer.SlackBuild
@@ -31,7 +31,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -92,7 +92,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $CWD/README* $PKG/usr/doc/$PRGNAM-$VERSION/
+cp $CWD/README* $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install