projects
/
hdw-linux
/
hdw-linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
da61db1
)
fixed fai file copying
author
hackbard
<hackbard>
Tue, 13 Sep 2005 23:19:52 +0000
(23:19 +0000)
committer
hackbard
<hackbard>
Tue, 13 Sep 2005 23:19:52 +0000
(23:19 +0000)
doc/CHANGELOG
patch
|
blob
|
history
fai/scripts/rc_fai.sh
patch
|
blob
|
history
diff --git
a/doc/CHANGELOG
b/doc/CHANGELOG
index
d1106aa
..
f678f8d
100644
(file)
--- a/
doc/CHANGELOG
+++ b/
doc/CHANGELOG
@@
-1,3
+1,7
@@
+*) 2005-09-14
+
+- fixed fai file copying
+
*) 2005-09-13
- added git(-core) and asciidoc package
*) 2005-09-13
- added git(-core) and asciidoc package
diff --git
a/fai/scripts/rc_fai.sh
b/fai/scripts/rc_fai.sh
index
d1e4f67
..
1947361
100755
(executable)
--- a/
fai/scripts/rc_fai.sh
+++ b/
fai/scripts/rc_fai.sh
@@
-114,7
+114,11
@@
cd /fai/files
for file in `find -type f | grep -v CVS`; do
srcf=`basename $file`
trgf=`dirname $file`
for file in `find -type f | grep -v CVS`; do
srcf=`basename $file`
trgf=`dirname $file`
- [ "$srcf" = "DEFAULT" -o "$srcf" = "$myip" ] && cp -v $file $root/$trgf
+ trgdir=`dirname $trgf`
+ if [ "$srcf" = "DEFAULT" -o "$srcf" = "$myip" ] ; then
+ mkdir -p $root/$trgdir
+ cp -v $file $root/$trgf
+ fi
done
#
done
#