summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/groovy/groovy.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/development/groovy/groovy.SlackBuild b/development/groovy/groovy.SlackBuild
index d0fce52acb..558d37002c 100644
--- a/development/groovy/groovy.SlackBuild
+++ b/development/groovy/groovy.SlackBuild
@@ -32,7 +32,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
@@ -79,7 +79,7 @@ popd
# no need to install these with a .new extension
mkdir -p $PKG/etc/profile.d
-cp -a $CWD/profile.d/$PRGNAM.*sh.new $PKG/etc/profile.d
+cp $CWD/profile.d/$PRGNAM.*sh.new $PKG/etc/profile.d
sed -i "s|@LIBDIR@|/usr/lib$LIBDIRSUFFIX|" $PKG/etc/profile.d/$PRGNAM.*sh.new
chmod 0755 $PKG/etc/profile.d/$PRGNAM.*sh.new
chown root:root $PKG/etc/profile.d/$PRGNAM.*sh.new