use link instead copy if possible

This commit is contained in:
Stas Degteff 2010-03-14 18:44:24 +00:00
parent b861fa5d0d
commit 9b7375f7f8
4 changed files with 4 additions and 4 deletions

View File

@ -14,4 +14,4 @@ echo Build an archive with Golded+ configuration examples: ${name} and ${shortn
if [ -f ${name} ] ; then rm $name ; fi
find ${dir} | grep -v CVS | zip -9 -@ -X ${name}
cp ${name} ${shortname}
ln ${name} ${shortname} || cp ${name} ${shortname}

View File

@ -55,4 +55,4 @@ echo Required libraries: >bin/requirements.txt
ldd bin/gedlnx | sed -e "s/ =.*//" -e /\\/lib\\//d -e "s/\\.so\\./ /" >>bin/requirements.txt
zip -9DXj ${name} bin/File_ID.Diz $files
cp ${name} ${shortname}
ln ${name} ${shortname} || cp ${name} ${shortname}

View File

@ -48,4 +48,4 @@ for i in ${bines} ; do
done
zip -9DXj ${name} ${dizfile} $files
cp ${name} ${shortname}
ln ${name} ${shortname} || cp ${name} ${shortname}

View File

@ -54,4 +54,4 @@ for i in ${bines} ; do
done
zip -9DXj ${name} ${dizfile} $files
cp ${name} ${shortname}
ln ${name} ${shortname} || cp ${name} ${shortname}