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