summaryrefslogtreecommitdiffstats
path: root/repoman/bin/torrent-creator
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2016-02-03 13:10:45 +0000
committeririna <irinagomez@us.es>2016-02-03 13:10:45 +0000
commitd6bffcc865415e7d6ede3ef6cfc0c5dad92b45bd (patch)
tree4066ffcb29a8986508198cc1731f4813176901d9 /repoman/bin/torrent-creator
parent2a051725a03fc806146323fa1b9aff0940731eac (diff)
#678 unidades organizativas separadas: los script deleteimagen y torrent-creator permiten imágenes dentro de subdirectorios de /opt/opengnsys/images
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4786 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'repoman/bin/torrent-creator')
-rwxr-xr-xrepoman/bin/torrent-creator2
1 files changed, 1 insertions, 1 deletions
diff --git a/repoman/bin/torrent-creator b/repoman/bin/torrent-creator
index 1ede98c5..dbeba758 100755
--- a/repoman/bin/torrent-creator
+++ b/repoman/bin/torrent-creator
@@ -25,7 +25,7 @@ pushd $OGIMG >/dev/null
# Procesar ficheros de imágenes.
trap 'echo "`date` : Proceso interrumpido" >> $LOGFILE; exit ' 1 2 3 6 9 15
-for IMG in *.{img,pgz,diff}; do
+for IMG in *.{img,pgz,diff} */*.{img,pgz,diff} ; do
# Saltar al siguiente si la imagen está bloqueada o si no existe el fichero.
LOCKFILE="$IMG.lock"
if [ -f "$LOCKFILE" -o ! -f "$IMG" ]; then