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