aboutsummaryrefslogtreecommitdiff
path: root/system/targetcli-fb/targetcli-fb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/targetcli-fb/targetcli-fb.SlackBuild')
-rw-r--r--system/targetcli-fb/targetcli-fb.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/targetcli-fb/targetcli-fb.SlackBuild b/system/targetcli-fb/targetcli-fb.SlackBuild
index df7797c27f4a2..7755d31488d96 100644
--- a/system/targetcli-fb/targetcli-fb.SlackBuild
+++ b/system/targetcli-fb/targetcli-fb.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=targetcli-fb
VERSION=${VERSION:-2.1.53}
RTVERSION=${RTVERSION:-2.1.73}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}