aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'ruby')
-rw-r--r--ruby/ruby-gtk2/ruby-gtk2.SlackBuild2
-rw-r--r--ruby/rubygems-update/rubygems-update.SlackBuild2
2 files changed, 1 insertions, 3 deletions
diff --git a/ruby/ruby-gtk2/ruby-gtk2.SlackBuild b/ruby/ruby-gtk2/ruby-gtk2.SlackBuild
index e4f3fcf15917c..366d2464a4ab3 100644
--- a/ruby/ruby-gtk2/ruby-gtk2.SlackBuild
+++ b/ruby/ruby-gtk2/ruby-gtk2.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-0.19.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
diff --git a/ruby/rubygems-update/rubygems-update.SlackBuild b/ruby/rubygems-update/rubygems-update.SlackBuild
index 3805ab8953bc2..b78be4a2f3ed2 100644
--- a/ruby/rubygems-update/rubygems-update.SlackBuild
+++ b/ruby/rubygems-update/rubygems-update.SlackBuild
@@ -57,7 +57,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT