aboutsummaryrefslogtreecommitdiff
path: root/office/calcurse/calcurse.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/calcurse/calcurse.SlackBuild')
-rw-r--r--office/calcurse/calcurse.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/calcurse/calcurse.SlackBuild b/office/calcurse/calcurse.SlackBuild
index 9185112d10979..1252edd672be4 100644
--- a/office/calcurse/calcurse.SlackBuild
+++ b/office/calcurse/calcurse.SlackBuild
@@ -26,6 +26,8 @@
# (INCLUDING NEGLIGENCE OR 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=calcurse
VERSION=${VERSION:-4.7.1}
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}