summaryrefslogtreecommitdiff
path: root/system/opendoas/opendoas.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/opendoas/opendoas.SlackBuild')
-rw-r--r--system/opendoas/opendoas.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/opendoas/opendoas.SlackBuild b/system/opendoas/opendoas.SlackBuild
index 0a1dd039d0..de15f34b48 100644
--- a/system/opendoas/opendoas.SlackBuild
+++ b/system/opendoas/opendoas.SlackBuild
@@ -22,6 +22,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=opendoas
VERSION=${VERSION:-6.8.1}
BUILD=${BUILD:-1}
@@ -47,7 +49,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}