]> git.proxmox.com Git - ceph.git/blame - ceph/src/zstd/contrib/single_file_libs/create_single_file_library.sh
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / zstd / contrib / single_file_libs / create_single_file_library.sh
CommitLineData
f67539c2
TL
1#!/bin/sh
2
3# Where to find the sources
4ZSTD_SRC_ROOT="../../lib"
5
6# Amalgamate the sources
7echo "Amalgamating files... this can take a while"
8./combine.sh -r "$ZSTD_SRC_ROOT" -o zstd.c zstd-in.c
9# Did combining work?
10if [ $? -ne 0 ]; then
11 echo "Combine script: FAILED"
12 exit 1
13fi
14echo "Combine script: PASSED"