diff options
Diffstat (limited to 'update/addmods.sh')
-rwxr-xr-x | update/addmods.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/update/addmods.sh b/update/addmods.sh index 3a4e036..6d6f146 100755 --- a/update/addmods.sh +++ b/update/addmods.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (C) 2010-2012 Evol Online +# Copyright (C) 2010-2012 TMW2 Online # Author: Andrei Karas (4144) dir=`pwd` @@ -19,9 +19,9 @@ FILES=`ls` for file in $FILES; do cd $file - find . -type f | xargs zip -9 -r ../../../../evol-tools/update/files/mod-$file.zip + find . -type f | xargs zip -9 -r ../../../../TMW2-tools/update/files/mod-$file.zip cd $dir/files - sum=`../adler32 1 mod-$file.zip` + sum=`adler32 1 mod-$file.zip` echo " <update type=\"data\" group=\"$file\" file=\"mod-$file.zip\" hash=\"${sum}\" />" >> xml_header.txt cp xml_header.txt resources.xml cat xml_footer.txt >>resources.xml |