diff options
author | Suren A. Chilingaryan <csa@ipecompute2.ands.kit.edu> | 2020-03-09 03:37:34 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@ipecompute2.ands.kit.edu> | 2020-03-09 03:37:34 +0100 |
commit | 8fb3c0a3f96024786305a1234fe5cfb70e6f00c0 (patch) | |
tree | dc313b424aab723f8a9b17865cdcf0904eb501d0 /build/extract.sh | |
download | ccpi-8fb3c0a3f96024786305a1234fe5cfb70e6f00c0.tar.gz ccpi-8fb3c0a3f96024786305a1234fe5cfb70e6f00c0.tar.bz2 ccpi-8fb3c0a3f96024786305a1234fe5cfb70e6f00c0.tar.xz ccpi-8fb3c0a3f96024786305a1234fe5cfb70e6f00c0.zip |
Initial release
Diffstat (limited to 'build/extract.sh')
-rw-r--r-- | build/extract.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build/extract.sh b/build/extract.sh new file mode 100644 index 0000000..5321db8 --- /dev/null +++ b/build/extract.sh @@ -0,0 +1,9 @@ +#! /usr/bin/env bash + +set -o errexit + +container=$(buildah from localhost/ccpi) +path=$(buildah mount $container) +mkdir -p ../repos/ +cp -ra "$path/ccpi/repos"/* ../repos/ +buildah umount $container |