repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
r20975: - implement handling of meta data an on originating add
[Samba.git]
/
source4
/
script
/
installtorture.sh
blob
db7ad9110c113f2e71d888e3006087544b0b6e3c
1
#!/bin/sh
2
3
INSTALLPERMS
=
$1
4
TORTUREDIR
=
$2
5
shift
6
shift
7
8
for
p
in
$
*;
do
9
p2
=
`dirname
$p
`
10
base
=
`basename
$p
`
11
DESTDIR
=
$TORTUREDIR
/
`basename
$p2
`
12
mkdir
-p
$DESTDIR
13
echo
Installing
$p
as
$DESTDIR
/
$base
14
cp
-f
$p $DESTDIR
/
15
chmod
$INSTALLPERMS $DESTDIR
/
$base
16
done
17
18
exit
0