aboutsummaryrefslogtreecommitdiff
path: root/system/sbbdep
diff options
context:
space:
mode:
Diffstat (limited to 'system/sbbdep')
-rw-r--r--system/sbbdep/sbbdep.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/sbbdep/sbbdep.SlackBuild b/system/sbbdep/sbbdep.SlackBuild
index e85bf3dccb88b..bc2cd5f3cd838 100644
--- a/system/sbbdep/sbbdep.SlackBuild
+++ b/system/sbbdep/sbbdep.SlackBuild
@@ -23,6 +23,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sbbdep
VERSION=${VERSION:-0.3.2}
BUILD=${BUILD:-1}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}