summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/n/newspost/newspost.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/n/newspost/newspost.SlackBuild')
-rwxr-xr-xslackware64-current/source/n/newspost/newspost.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/slackware64-current/source/n/newspost/newspost.SlackBuild b/slackware64-current/source/n/newspost/newspost.SlackBuild
index ba9cb9814..72cdebb07 100755
--- a/slackware64-current/source/n/newspost/newspost.SlackBuild
+++ b/slackware64-current/source/n/newspost/newspost.SlackBuild
@@ -20,6 +20,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)
+
VERSION=2.1.1
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ fi
NUMJOBS=${NUMJOBS:-" -j7 "}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-newspost