File: make_buginfo

package info (click to toggle)
mldonkey 2.8.1-2etch1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 16,940 kB
  • ctags: 26,220
  • sloc: ml: 138,666; sh: 15,368; cpp: 12,076; ansic: 8,243; asm: 3,858; xml: 3,367; perl: 1,831; makefile: 259; python: 258
file content (37 lines) | stat: -rwxr-xr-x 1,207 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh

echo
echo "This program needs to be started from inside mldonkey directory."
echo "It won't send any information, it only creates one file that you"
echo "are free to send or not with your bug report."
echo
echo "Informations on your downloads, shared files and IP address will"
echo "be included in the created file."
echo
echo "If you have changed your incoming/, temp/ and torrents/ directories," 
echo "Create links incoming, temp and torrents to them before starting"
echo "this program."
echo
echo "You should send this information to bug-config@mldonkey.net with the"
echo "corresponding bug number of Savannah or the forum thread name. This"
echo "information will be kept private to the main developers."
echo
echo -n "Building file 'buginfo.tar.gz'..."

rm -f buginfo.tar.gz
mkdir -p buginfo
cp -f *.ini buginfo/
uname -a &> buginfo/uname
df &> buginfo/df
(ls -lR; df .) &> buginfo/mldonkey.directory
(cd incoming; ls -lR; df .) &> buginfo/incoming.directory
(cd temp; ls -lR; df .) &> buginfo/temp.directory
(cd torrents; ls -lR; df .) &> buginfo/torrents.directory
id &> buginfo/id
ifconfig &> buginfo/computer

tar cf buginfo.tar buginfo
rm -rf buginfo
gzip buginfo.tar

echo "done"