... | ... |
@@ -1,6 +1,6 @@ |
1 | 1 |
#!/bin/bash |
2 | 2 |
cd /var/www/html/newsen/sources |
3 |
-for src in news-*php |
|
3 |
+for src in $(ls news-*php|grep -v news-constants.php|sort) |
|
4 | 4 |
do |
5 | 5 |
echo "== $src" |
6 | 6 |
outfile=$(echo $src|awk -F'-' '{print $2}'|awk -F. '{print $1}').html |