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