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