summaryrefslogtreecommitdiff
path: root/system/pigz/pigz.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pigz/pigz.SlackBuild')
-rw-r--r--system/pigz/pigz.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/pigz/pigz.SlackBuild b/system/pigz/pigz.SlackBuild
index 39f55a6a57..31f7619abb 100644
--- a/system/pigz/pigz.SlackBuild
+++ b/system/pigz/pigz.SlackBuild
@@ -26,6 +26,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=pigz
VERSION=${VERSION:-2.4}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}