aboutsummaryrefslogtreecommitdiff
path: root/multimedia/OpenLP/OpenLP.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/OpenLP/OpenLP.SlackBuild')
-rw-r--r--multimedia/OpenLP/OpenLP.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/OpenLP/OpenLP.SlackBuild b/multimedia/OpenLP/OpenLP.SlackBuild
index 6b15153559c84..1ffa478d2178d 100644
--- a/multimedia/OpenLP/OpenLP.SlackBuild
+++ b/multimedia/OpenLP/OpenLP.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=OpenLP
VERSION=${VERSION:-2.0.5}
BUILD=${BUILD:-2}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}