aboutsummaryrefslogtreecommitdiff
path: root/network/wifi-radar/wifi-radar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/wifi-radar/wifi-radar.SlackBuild')
-rw-r--r--network/wifi-radar/wifi-radar.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/wifi-radar/wifi-radar.SlackBuild b/network/wifi-radar/wifi-radar.SlackBuild
index a8b44ce122924..9f75d52687504 100644
--- a/network/wifi-radar/wifi-radar.SlackBuild
+++ b/network/wifi-radar/wifi-radar.SlackBuild
@@ -22,6 +22,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=wifi-radar
VERSION=${VERSION:-2.0.s10}
BUILD=${BUILD:-2}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}