fd-commit: don't use wrong name when there is no autoname

This commit is contained in:
Ciaran Gultnieks committed 2013-12-11 09:29:37 +00:00
1 parent d0bc41da49
commit 75180dc126
1 file changed
+1
+1
View File
@@ -27,6 +27,7 @@ while read line; do
[ -d metadata/$id ] && extra=metadata/$id
autoname=""
while read l; do
if [[ "$l" == "Auto Name:"* ]]; then
autoname=${l##*:}