mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 23:22:27 +00:00
47cbdeb836
The test-build resides inside the docker image and is supposed to be called from outside, downloads the branch and calls build-default. Buid-default will run up to make. Signed-off-by: David Sterba <dsterba@suse.com>
16 lines
339 B
Bash
Executable File
16 lines
339 B
Bash
Executable File
#!/bin/sh
|
|
# usage: $0 [branch name] [configure parameters]
|
|
|
|
urlbase="https://github.com/kdave/btrfs-progs/archive/"
|
|
branch=${1:-devel}
|
|
url=${urlbase}${branch}.tar.gz
|
|
|
|
shift
|
|
|
|
echo "btrfs-progs build test of branch ${branch}"
|
|
cd /tmp
|
|
wget "$url" -O ${branch}.tar.gz
|
|
tar xf ${branch}.tar.gz
|
|
cd btrfs-progs-${branch}
|
|
travis/build-default "$@"
|