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