summaryrefslogtreecommitdiff
path: root/misc/lppf/lppf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/lppf/lppf.SlackBuild')
-rw-r--r--misc/lppf/lppf.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/lppf/lppf.SlackBuild b/misc/lppf/lppf.SlackBuild
index a0aa3867f1..8185f888b8 100644
--- a/misc/lppf/lppf.SlackBuild
+++ b/misc/lppf/lppf.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=lppf
VERSION=${VERSION:-0.1_rc1}
SRCVER=$(echo $VERSION | tr _ -)
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}