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