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