aboutsummaryrefslogtreecommitdiff
path: root/development/fpc-source/fpc-source.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/fpc-source/fpc-source.SlackBuild')
-rw-r--r--development/fpc-source/fpc-source.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/fpc-source/fpc-source.SlackBuild b/development/fpc-source/fpc-source.SlackBuild
index 72daaf25abe73..da4fb26af4ec0 100644
--- a/development/fpc-source/fpc-source.SlackBuild
+++ b/development/fpc-source/fpc-source.SlackBuild
@@ -23,6 +23,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=fpc-source
VERSION=${VERSION:-3.0.4}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ fi
ORIG_PRGNAM=fpc
ORIG_VERSION=$VERSION.source
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}