aboutsummaryrefslogtreecommitdiff
path: root/paludis/tar_merger_TEST_setup.sh
blob: 48f34e9a58a12f4e4fc0b8f0855017159d406ec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :

mkdir tar_merger_TEST_dir || exit 2
cd tar_merger_TEST_dir || exit 3

mkdir -p simple/subdir/subsubdir simple_extract
cat <<END > simple/file
This is the file.
END

cat <<END > simple/subdir/another
Another file
END

cat <<END > simple/subdir/subsubdir/script
Woohoo
END
chmod +x simple/subdir/subsubdir/script

ln -s file simple/goodsym
ln -s nothing simple/badsym