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