mirror of
https://github.com/jordansissel/fpm
synced 2025-08-30 04:10:42 +02:00
16 lines
296 B
Bash
16 lines
296 B
Bash
#!/bin/sh
|
|
|
|
run() {
|
|
mkdir -p $tmpdir/{a,b,c}/{d,e,f}
|
|
touch $tmpdir/a/hello
|
|
touch $tmpdir/a/d/hello
|
|
touch $tmpdir/c/d/hello
|
|
|
|
prefix=/opt/foo/bar
|
|
|
|
fpm -s dir -t rpm -n testing -a all --prefix $prefix -C $tmpdir
|
|
|
|
rpm -qlp testing-1.0.noarch.rpm > $output
|
|
rm testing-1.0.noarch.rpm
|
|
}
|