aboutsummaryrefslogtreecommitdiff
path: root/network/swaks/swaks.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/swaks/swaks.SlackBuild')
-rw-r--r--network/swaks/swaks.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/swaks/swaks.SlackBuild b/network/swaks/swaks.SlackBuild
index beff26b91ae86..2709ae50f9105 100644
--- a/network/swaks/swaks.SlackBuild
+++ b/network/swaks/swaks.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=swaks
VERSION=${VERSION:-20190914.0}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}