From 8cf56f0a8be9c82dba1586b0b3f2a72e5fa5a917 Mon Sep 17 00:00:00 2001 From: Sebastien BALLET Date: Sat, 15 Jul 2017 07:22:21 +0700 Subject: development/avr8-gnu-toolchain: Fix ownership. Signed-off-by: Willy Sudiarto Raharjo --- development/avr8-gnu-toolchain/avr8-gnu-toolchain.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'development/avr8-gnu-toolchain') 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 -- cgit v1.2.3