diff options
Diffstat (limited to 'development')
-rw-r--r-- | development/avr8-gnu-toolchain/avr8-gnu-toolchain.SlackBuild | 6 |
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 |