aboutsummaryrefslogtreecommitdiff
path: root/network/cni-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'network/cni-plugins')
-rw-r--r--network/cni-plugins/cni-plugins.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/cni-plugins/cni-plugins.SlackBuild b/network/cni-plugins/cni-plugins.SlackBuild
index 798f3a904992d..352631a8ee358 100644
--- a/network/cni-plugins/cni-plugins.SlackBuild
+++ b/network/cni-plugins/cni-plugins.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=cni-plugins
REPONAME=plugins
VERSION=${VERSION:-0.8.2}
@@ -43,7 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}