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