commit 0e55f2dbd08da6499cfffc19b479f05d20c6ff4d
parent ab0978fb4e739e2b629d864ae7022c16447a13fa
Author: Quentin Rameau <quinq@fifth.space>
Date: Tue, 10 Nov 2015 20:49:40 +0100
Fix title handling in addrom csv script
A space where inserted before each title
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/addrom-processcsv.sh b/addrom-processcsv.sh
@@ -62,8 +62,8 @@ do
printf "Skipping \"%s\", \"%s\": rom name empty\n" \
"$chname" "$enname"
fi
- [ -n "$chname" ] && chopt="-c ${chname}" || chopt=
- [ -n "$enname" ] && enopt="-e ${enname}" || enopt=
+ [ -n "$chname" ] && chopt="-c$chname" || chopt=
+ [ -n "$enname" ] && enopt="-e$enname" || enopt=
$ADDROMCMD -i "$ifile" "$chopt" "$enopt" -r "$romname"
done < "$csvfile"