summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorSebastien BALLET <slacker6896@gmail.com>2017-07-15 07:22:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-15 07:22:21 +0700
commit8cf56f0a8be9c82dba1586b0b3f2a72e5fa5a917 (patch)
treebf7629630499f4c1121a54357510bce8145a05aa /development
parent96ff4027b4f7d1b44c215bd9db153edc81f4b83b (diff)
downloadslackbuilds-8cf56f0a8be9c82dba1586b0b3f2a72e5fa5a917.tar.gz
development/avr8-gnu-toolchain: Fix ownership.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/avr8-gnu-toolchain/avr8-gnu-toolchain.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/avr8-gnu-toolchain/avr8-gnu-toolchain.SlackBuild b/development/avr8-gnu-toolchain/avr8-gnu-toolchain.SlackBuild
index 4879d47338..8f8f130ad7 100644
--- a/development/avr8-gnu-toolchain/avr8-gnu-toolchain.SlackBuild
+++ b/development/avr8-gnu-toolchain/avr8-gnu-toolchain.SlackBuild
@@ -29,7 +29,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
@@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" != "i486" ] && [ "$ARCH" != "x86_64" ]; then
+if [ "$ARCH" != "i586" ] && [ "$ARCH" != "x86_64" ]; then
echo -ne "\nError: \"${ARCH}\" architecture is not supported. \n\n"
exit 1
fi
@@ -102,7 +102,7 @@ find $PKG/usr/doc/$PRGNAM-$VERSION/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/doc/$PRGNAM-$VERSION/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
cp -a doc/avr-libc $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $CWD/avr8-gnu-toolchain-3.4.1.798-readme.pdf $PKG/usr/doc/$PRGNAM-$VERSION
+cp $CWD/avr8-gnu-toolchain-3.4.1.798-readme.pdf $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install