diff --git a/mkmirrortree b/mkmirrortree index 901a234..42134ee 100755 --- a/mkmirrortree +++ b/mkmirrortree @@ -8,7 +8,7 @@ echo `pwd` for DIR in `ls -A $MIRROR/mageia/distrib` do - if [ -d "$DIR" ]; then + if [ -d "$MIRROR/$DIR" ]; then for ARCH in $ARCHLIST;do if [ "$ARCH" = "SRPMS" ]; then MEDIA="";