summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/xap/sane/sane.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/xap/sane/sane.SlackBuild')
-rwxr-xr-xslackware64-current/source/xap/sane/sane.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/slackware64-current/source/xap/sane/sane.SlackBuild b/slackware64-current/source/xap/sane/sane.SlackBuild
index c89b108e6..95661e512 100755
--- a/slackware64-current/source/xap/sane/sane.SlackBuild
+++ b/slackware64-current/source/xap/sane/sane.SlackBuild
@@ -20,6 +20,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)
+
VERSION=1.0.27
BACKVER=1.0.27
FRONTVER=1.0.14
@@ -51,7 +53,6 @@ else
LIBDIRSUFFIX=""
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-sane