Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 51161b9

Browse files
committed
Fixed reptyr #2581
1 parent 60e3c63 commit 51161b9

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

tools.yaml

+8-5
Original file line numberDiff line numberDiff line change
@@ -4403,23 +4403,26 @@ tools:
44034403
44044404
- name: reptyr
44054405
version: 0.9.0
4406-
#check: ${binary}
4406+
check: ${binary} -v | head -n 1 | cut -d' ' -f5 | cut -d. -f1-3
44074407
needs:
44084408
- docker
44094409
tags:
4410-
- XXX
4410+
- management
44114411
dockerfile: |
44124412
FROM ubuntu:22.04
44134413
RUN apt-get update \
44144414
&& apt-get -y install \
44154415
build-essential \
44164416
git
4417-
# https://github.com/nelhage/reptyr/blob/reptyr-0.9.0/reptyr.bash
4418-
install: |
4417+
download:
4418+
- url: https://github.com/nelhage/reptyr/raw/reptyr-${version}/reptyr.bash
4419+
type: file
4420+
path: ${target}/share/bash-completion/completions/reptyr
4421+
post_install: |
44194422
docker_run \
44204423
--workdir /go/src/github.com/nelhage/reptyr \
44214424
<<EOF
4422-
git clone -q --config advice.detachedHead=false --depth 1 --branch "${version}" https://github.com/nelhage/reptyr .
4425+
git clone -q --config advice.detachedHead=false --depth 1 --branch "reptyr-${version}" https://github.com/nelhage/reptyr .
44234426
export LDFLAGS=-static
44244427
make reptyr
44254428
mkdir -p /target/bin /target/share/man/man1

0 commit comments

Comments
 (0)