aboutsummaryrefslogtreecommitdiff
path: root/paludis/tar_merger_TEST_setup.sh
blob: a37f9b27b46ec28a6bc7c59690f83fffdbf83a02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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

ln -s ${PWD}/simple/bin/cat simple/rewritesym