X-Git-Url: http://git.plutz.net/?p=serve0;a=blobdiff_plain;f=indexmeta.sh;h=fb893e14195bd8ba2554adb121097a5f8c021eb9;hp=aad3fc1433990ee4f0822dc4d9b54fdd26420ed0;hb=d1e7e3c7931410f6705f7f89f03c580380a354f1;hpb=bce8891e9f27d8aad29436a2771a0027a6012fd7 diff --git a/indexmeta.sh b/indexmeta.sh index aad3fc1..fb893e1 100644 --- a/indexmeta.sh +++ b/indexmeta.sh @@ -52,9 +52,9 @@ meta_purge(){ name="$(meta_name "$file")" if [ -d "${meta%/meta}" ] && LOCK "$meta"; then - grep -avF " ${name}" "$meta" >"$meta.tmp" - grep -aF " ${name}" "$meta" >>"$meta.trash" - mv "$meta.tmp" "$meta" + grep -avF " ${name}" "$meta" >"${meta}.tmp" + grep -aF " ${name}" "$meta" >>"${meta}.trash" + mv "${meta}.tmp" "$meta" RELEASE "$meta" fi }