summaryrefslogtreecommitdiff
path: root/system/rear/rear.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/rear/rear.SlackBuild')
-rw-r--r--system/rear/rear.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/rear/rear.SlackBuild b/system/rear/rear.SlackBuild
index 59ee7acf0c..c399c59591 100644
--- a/system/rear/rear.SlackBuild
+++ b/system/rear/rear.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=rear
VERSION=${VERSION:-2.4}
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}