summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/n/openssl/openssl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/n/openssl/openssl.SlackBuild')
-rwxr-xr-xslackware64-current/source/n/openssl/openssl.SlackBuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/slackware64-current/source/n/openssl/openssl.SlackBuild b/slackware64-current/source/n/openssl/openssl.SlackBuild
index 00b80226f..a003cdae1 100755
--- a/slackware64-current/source/n/openssl/openssl.SlackBuild
+++ b/slackware64-current/source/n/openssl/openssl.SlackBuild
@@ -22,9 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
# Set initial variables:
-CWD=$(pwd)
+cd $(dirname $0) ; CWD=$(pwd)
TMP=${TMP:-/tmp}
VERSION=${VERSION:-$(echo openssl-*.tar.gz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}