aboutsummaryrefslogtreecommitdiff
path: root/libraries/hinnant-date/hinnant-date.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/hinnant-date/hinnant-date.SlackBuild')
-rw-r--r--libraries/hinnant-date/hinnant-date.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/hinnant-date/hinnant-date.SlackBuild b/libraries/hinnant-date/hinnant-date.SlackBuild
index cbf25b184f753..82ef487662263 100644
--- a/libraries/hinnant-date/hinnant-date.SlackBuild
+++ b/libraries/hinnant-date/hinnant-date.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=hinnant-date
SRCNAM=date
VERSION=${VERSION:-2.2}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}