Skip to content

Instantly share code, notes, and snippets.

@manoelhc
Created May 31, 2023 13:43
Show Gist options
  • Select an option

  • Save manoelhc/effa2663b0e4a0a21d01947c26a6ef84 to your computer and use it in GitHub Desktop.

Select an option

Save manoelhc/effa2663b0e4a0a21d01947c26a6ef84 to your computer and use it in GitHub Desktop.
docker run -it -u $(id -u):$(id -g) -w $(pwd) -v $(pwd):$(pwd):rw mac-bug sh scripts/script.sh
+ set -e
+ git clone -b 6.2.0 https://github.com/clicon/cligen.git
Cloning into 'cligen'...
remote: Enumerating objects: 3997, done.
remote: Counting objects: 100% (600/600), done.
remote: Compressing objects: 100% (172/172), done.
remote: Total 3997 (delta 472), reused 535 (delta 425), pack-reused 3397
Receiving objects: 100% (3997/3997), 6.47 MiB | 5.49 MiB/s, done.
Resolving deltas: 100% (3078/3078), done.
Note: switching to 'fea669b402cd20c0e6455d25be5536caeff110b6'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
+ pwd
+ git -C cligen archive --prefix=cligen-6.2.0/ --format=tar -o /Users/manoelhc/Documents/GitHub/gitops/cligen/build-root/cligen-latest.tar HEAD
+ pwd
+ xz -v --threads=0 /Users/manoelhc/Documents/GitHub/gitops/cligen/build-root/cligen-latest.tar
/Users/manoelhc/Documents/GitHub/gitops/cligen/build-root/cligen-latest.tar (1/1)
100 % 597.0 KiB / 1760.0 KiB = 0.339
+ tar -C /tmp -xJf cligen/build-root/cligen-latest.tar.xz
+ tar -xJf cligen/build-root/cligen-latest.tar.xz
+ ls -l cligen-6.2.0/build-root/scripts
total 0
lrwxr-xr-x 1 501 dialout 28 Apr 30 18:53 version -> ../../extras/scripts/version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment