This should make things run more nicely on systems like FreeBSD, where bash isn't installed in /bin.
36 lines
397 B
Bash
Executable File
36 lines
397 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# vim: set ft=sh sw=4 sts=4 et :
|
|
|
|
mkdir set_file_TEST_dir || exit 2
|
|
cd set_file_TEST_dir
|
|
|
|
cat <<"END" > simple1
|
|
# this is a comment
|
|
|
|
foo/bar
|
|
>=bar/baz-1.23
|
|
|
|
# the end
|
|
END
|
|
|
|
cat <<"END" > paludisconf1
|
|
# this is a comment
|
|
|
|
? foo/bar
|
|
* >=bar/baz-1.23
|
|
|
|
* set
|
|
? settee
|
|
|
|
# the end
|
|
END
|
|
|
|
cat <<"END" > override
|
|
? foo/foo
|
|
* >=bar/bar-1.23
|
|
? >=baz/baz-1.23
|
|
* set
|
|
* set2*
|
|
END
|
|
|