aboutsummaryrefslogtreecommitdiff
path: root/system/findpkg/findpkg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/findpkg/findpkg.SlackBuild')
-rw-r--r--system/findpkg/findpkg.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/findpkg/findpkg.SlackBuild b/system/findpkg/findpkg.SlackBuild
index 17236e381c048..44cfb563d01f4 100644
--- a/system/findpkg/findpkg.SlackBuild
+++ b/system/findpkg/findpkg.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=findpkg
VERSION=${VERSION:-20160817}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
# It is not arch spesific.
ARCH="noarch"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}