aboutsummaryrefslogtreecommitdiff
path: root/system/ovmf/ovmf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ovmf/ovmf.SlackBuild')
-rw-r--r--system/ovmf/ovmf.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/ovmf/ovmf.SlackBuild b/system/ovmf/ovmf.SlackBuild
index f992b96dc3a9b..8379614f1654a 100644
--- a/system/ovmf/ovmf.SlackBuild
+++ b/system/ovmf/ovmf.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=ovmf
VERSION=${VERSION:-20171116}
GITCOMMIT=${GITCOMMIT:-b3104.g1195b85787}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}