aboutsummaryrefslogtreecommitdiff
path: root/libraries/ode/ode.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ode/ode.SlackBuild')
-rw-r--r--libraries/ode/ode.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/libraries/ode/ode.SlackBuild b/libraries/ode/ode.SlackBuild
index abe40e9ffb1c..314f7b3b27a0 100644
--- a/libraries/ode/ode.SlackBuild
+++ b/libraries/ode/ode.SlackBuild
@@ -9,19 +9,14 @@
# Modified by the SlackBuilds.org project
-if [ "$(id -u)" != "0" ]; then
- echo "This script must be run as root!"
- exit
-fi
-
set -e
NAME=ode
-VERSION=0.7
+VERSION=0.8
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$NAME}
OUTPUT=${OUTPUT:-/tmp}
@@ -31,7 +26,6 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
unzip $CWD/$NAME-src-$VERSION.zip
cd $NAME-$VERSION
-
chown -R root:root .
chmod -R u+w,go+r-w,a-s .