aboutsummaryrefslogtreecommitdiff
path: root/ruby/ruby-build/ruby-build.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/ruby-build/ruby-build.SlackBuild')
-rw-r--r--ruby/ruby-build/ruby-build.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/ruby/ruby-build/ruby-build.SlackBuild b/ruby/ruby-build/ruby-build.SlackBuild
index 03f0c8d04b364..110d73e643bce 100644
--- a/ruby/ruby-build/ruby-build.SlackBuild
+++ b/ruby/ruby-build/ruby-build.SlackBuild
@@ -22,13 +22,14 @@
# 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=ruby-build
VERSION=${VERSION:-20210611}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}