diff options
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -62,7 +62,7 @@ function update_hdlist() repository="$1" fdeps="$repository/../../media_info/file-deps" test -f "$fdeps" && ofdeps="--file-deps $fdeps" - /usr/bin/genhdlist2 -v --versioned --allow-empty-media $ofdeps "$repository" + $dryrun /usr/bin/genhdlist2 -v --versioned --allow-empty-media $ofdeps "$repository" } function update_distro_hdlist() @@ -85,16 +85,16 @@ function update_distro_hdlist() function update_common_MD5SUM() { - distrorelease="$1" + release="$1" for arch in $arches; do - pushd "$distribdir/$distrorelease/$arch/media/media_info" - /usr/bin/md5sum hdlist_* synthesis.* > MD5SUM + pushd "$distribdir/$release/$arch/media/media_info" + $dryrun /bin/sh -c "/usr/bin/md5sum hdlist_* synthesis.* >MD5SUM" popd done } function mirror_repository() { - distrorelease="$1" - /usr/bin/rsync $mirror_rsync_options "$distribdir/$distrorelease/" "$finaldistribdir/$distrorelease/" + release="$1" + /usr/bin/rsync $mirror_rsync_options "$distribdir/$release/" "$finaldistribdir/$release/" } |