1
0
mirror of https://github.com/jordansissel/fpm synced 2025-08-30 04:10:42 +02:00
fpm/test/dir-deb-with-prefix.test
2011-09-05 18:30:39 -07:00

18 lines
302 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 deb -n testing -a all --prefix $prefix -C $tmpdir
file=testing_1.0_all.deb
dpkg -c $file | fex '{6:}' > $output
rm $file
}