Spaces:
Build error
Build error
Update recover.sh
Browse files- recover.sh +2 -1
recover.sh
CHANGED
|
@@ -13,9 +13,10 @@ if [ ! -f "$archivo_entrada" ]; then
|
|
| 13 |
echo "El archivo $archivo_entrada no existe."
|
| 14 |
exit 0
|
| 15 |
fi
|
|
|
|
| 16 |
|
| 17 |
# Leer el archivo línea por línea
|
| 18 |
-
for linea in $
|
| 19 |
nombre=$(echo "$linea" | cut -d ":" -f1)
|
| 20 |
echo "Recuperando $nombre"
|
| 21 |
valor=$(echo "$linea" | cut -d ":" -f2)
|
|
|
|
| 13 |
echo "El archivo $archivo_entrada no existe."
|
| 14 |
exit 0
|
| 15 |
fi
|
| 16 |
+
files=$(cat "$archivo_entrada")
|
| 17 |
|
| 18 |
# Leer el archivo línea por línea
|
| 19 |
+
for linea in $files; do
|
| 20 |
nombre=$(echo "$linea" | cut -d ":" -f1)
|
| 21 |
echo "Recuperando $nombre"
|
| 22 |
valor=$(echo "$linea" | cut -d ":" -f2)
|