Keep dates etc. on copied files

This commit is contained in:
cd-builder user 2008-11-24 23:10:36 +00:00
parent 957b00eeff
commit 804792c564
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ if ./build.sh "$ARCH" >>"$LOGFILE" 2>&1 ; then
for file in `cat $TDIR/$CODENAME/*.pkgs_extracted | sort | uniq`; do
basefile=`basename $file`
if [ ! -e $EXTRACTED_SOURCES/$file ] ; then
cp $MIRROR/$file $EXTRACTED_SOURCES
cp -a $MIRROR/$file $EXTRACTED_SOURCES
fi
done