aboutsummaryrefslogtreecommitdiff
path: root/office/todo.txt-cli/todo.txt-cli.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/todo.txt-cli/todo.txt-cli.SlackBuild')
-rw-r--r--office/todo.txt-cli/todo.txt-cli.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/todo.txt-cli/todo.txt-cli.SlackBuild b/office/todo.txt-cli/todo.txt-cli.SlackBuild
index 0e8ee06624571..8cb1d559c7c90 100644
--- a/office/todo.txt-cli/todo.txt-cli.SlackBuild
+++ b/office/todo.txt-cli/todo.txt-cli.SlackBuild
@@ -22,6 +22,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=todo.txt-cli
VERSION=${VERSION:-2.12.0}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}