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