Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save manoelhc/552f1249f98d527b30f9ac677f257832 to your computer and use it in GitHub Desktop.
#!/bin/sh
set -x
set -e
git clone -b 6.2.0 https://github.com/clicon/cligen.git
git -C cligen archive --prefix=cligen-6.2.0/ --format=tar \
-o $(pwd)/cligen/build-root/cligen-latest.tar HEAD
xz -v --threads=0 $(pwd)/cligen/build-root/cligen-latest.tar
tar -C /tmp -xJf cligen/build-root/cligen-latest.tar.xz
tar -xJf cligen/build-root/cligen-latest.tar.xz || true
ls -l cligen-6.2.0/build-root/scripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment