mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 21:45:39 +00:00
Add check for empty lines
This commit is contained in:
parent
de7c189a36
commit
7a121068e7
|
@ -15,7 +15,7 @@ echo
|
|||
|
||||
while IFS="^" read -r url placeholder
|
||||
do
|
||||
if [[ ! $url == "#"* ]]; then
|
||||
if [[ ! "$url" == "#"* ]] && [[ ! -z "$url"]]; then
|
||||
echo
|
||||
echo "Placeholder text: $placeholder"
|
||||
echo "URL to hash: $url"
|
||||
|
@ -26,4 +26,4 @@ do
|
|||
fi
|
||||
done < "$sha_update_list"
|
||||
|
||||
echo "Done updating manifest hashes."
|
||||
echo "Done updating manifest hashes."
|
||||
|
|
Loading…
Reference in a new issue