summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/ap/bc/bc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/ap/bc/bc.SlackBuild')
-rwxr-xr-xslackware64-current/source/ap/bc/bc.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/slackware64-current/source/ap/bc/bc.SlackBuild b/slackware64-current/source/ap/bc/bc.SlackBuild
index d72e8a7b8..e73e07c3c 100755
--- a/slackware64-current/source/ap/bc/bc.SlackBuild
+++ b/slackware64-current/source/ap/bc/bc.SlackBuild
@@ -19,6 +19,7 @@
# 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)
PKGNAM=bc
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
@@ -36,7 +37,6 @@ fi
NUMJOBS=${NUMJOBS:-" -j7 "}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-${PKGNAM}
rm -rf $PKG