summaryrefslogtreecommitdiffstats
path: root/libraries/log4cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/log4cpp')
-rw-r--r--libraries/log4cpp/log4cpp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/log4cpp/log4cpp.SlackBuild b/libraries/log4cpp/log4cpp.SlackBuild
index 08312f629f..a78fae04a7 100644
--- a/libraries/log4cpp/log4cpp.SlackBuild
+++ b/libraries/log4cpp/log4cpp.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=log4cpp
VERSION=${VERSION:-1.0}
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}