bm90aGluZwo=

This commit is contained in:
lovelywcm
2010-03-26 03:07:38 +00:00
parent c1851403c2
commit 024b8c7159
2 changed files with 14 additions and 2 deletions

View File

@@ -89,7 +89,11 @@ if [ "$*" == "" ]; then
fi
# make sure the list doesn't contain unicode chars
file list.txt | grep ASCII 1> /dev/null || (echo "List contains non-ASCII characters, please remove them." && exit 1) &&
file list.txt | grep ASCII 1> /dev/null ||
(
echo "List contains non-ASCII characters, please remove them." &&
exit 1;
) &&
# update date and checksum
sed -i s/"Last Modified:.*$"/"Last Modified: $(date -R -r list.txt)"/ list.txt &&