]> Sergey Matveev's repositories - feeder.git/blobdiff - cmd/parse.sh
Excess assignments
[feeder.git] / cmd / parse.sh
index ca3bf2a6a4a51a0ecc20797078df6fd9de324720..9ba9d7c0c3ddb90a7c768191800a7768333d8043 100755 (executable)
@@ -2,8 +2,8 @@
 
 cmds="$(dirname "$(realpath "$0")")"
 cd "$1"
-[ -s parse.hash ] && hash_our=`cat parse.hash` || hash_our=""
-[ -s download.hash ] && hash_their=`cat download.hash` || hash_their=""
+[ -s parse.hash ] && hash_our=`cat parse.hash` || :
+[ -s download.hash ] && hash_their=`cat download.hash` || :
 [ "$hash_our" != "$hash_their" ] || exit 0
 zstd -d < feed.zst | $cmds/feed2mdir/feed2mdir . > title.tmp
 mv title.tmp title