aboutsummaryrefslogtreecommitdiff
path: root/desktop/ratpoison/ratpoison.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/ratpoison/ratpoison.SlackBuild')
-rw-r--r--desktop/ratpoison/ratpoison.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/ratpoison/ratpoison.SlackBuild b/desktop/ratpoison/ratpoison.SlackBuild
index 727625cfaea11..a933f6a4d43bf 100644
--- a/desktop/ratpoison/ratpoison.SlackBuild
+++ b/desktop/ratpoison/ratpoison.SlackBuild
@@ -27,6 +27,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=ratpoison
VERSION=${VERSION:-1.4.9}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}