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