aboutsummaryrefslogtreecommitdiff
path: root/libraries/unixODBC/unixODBC.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/unixODBC/unixODBC.SlackBuild')
-rw-r--r--libraries/unixODBC/unixODBC.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/unixODBC/unixODBC.SlackBuild b/libraries/unixODBC/unixODBC.SlackBuild
index 9908d509cc9f4..68ed32c8ea0a0 100644
--- a/libraries/unixODBC/unixODBC.SlackBuild
+++ b/libraries/unixODBC/unixODBC.SlackBuild
@@ -29,6 +29,8 @@
# (INCLUDING NEGLIGENCE OR 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=unixODBC
VERSION=${VERSION:-2.3.7}
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}