aboutsummaryrefslogtreecommitdiff
path: root/system/rEFInd/rEFInd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/rEFInd/rEFInd.SlackBuild')
-rw-r--r--system/rEFInd/rEFInd.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/rEFInd/rEFInd.SlackBuild b/system/rEFInd/rEFInd.SlackBuild
index e5863c108a26f..64d3c5b230979 100644
--- a/system/rEFInd/rEFInd.SlackBuild
+++ b/system/rEFInd/rEFInd.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=rEFInd
SRCNAME=refind
VERSION=${VERSION:-0.13.1}
@@ -40,7 +42,6 @@ if [ "$ARCH" != "x86_64" ] && [ "$ARCH" != "i586" ] && [ "$ARCH" != "i686" ]; th
exit
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}