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