ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cf.schmorp.de/Deliantra-Client/mkmanifest
(Generate patch)

Comparing cf.schmorp.de/Deliantra-Client/mkmanifest (file contents):
Revision 1.6 by root, Sun Jul 29 21:31:47 2007 UTC vs.
Revision 1.7 by root, Tue Sep 2 16:50:06 2008 UTC

1#!/bin/sh 1#!/bin/sh
2 2
3( 3(
4 <MANIFEST grep -v ^resources/ | grep -v ^pod/ 4 <MANIFEST grep -v ^resources/ | grep -v ^pod/
5 echo 5 echo
6 for theme in "" "/theme-plain"; do
7 base="resources$theme"
6 for file in \ 8 for file in \
7 resources/*.png \ 9 $base/*.png \
8 resources/fonts/*.ttf \ 10 $base/fonts/*.ttf \
9 resources/music/*.ogg \ 11 $base/music/*.ogg \
10 resources/ui/resist/*.png \ 12 $base/ui/resist/*.png \
11 resources/pod/*.png \ 13 $base/pod/*.png \
12 resources/pod/*.jpg \ 14 $base/pod/*.jpg \
13 resources/arch/*.png \ 15 $base/arch/*.png
16 do
17 [ -e "$file" ] && echo "$file"
18 done
19 done
20 for file in \
14 pod/*.pod 21 pod/*.pod
15 do 22 do
16 echo "$file" 23 echo "$file"
17 done 24 done
18) | uniq >MANIFEST~ && mv MANIFEST~ MANIFEST 25) | uniq >MANIFEST~ && mv MANIFEST~ MANIFEST

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines