as we now built our own static version, add a bindir variable, put
the compiled one in there and use it from that place.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
# locations used by many scripts
base=/srv/ftp.debian.org
+bindir=$base/bin
ftpdir=$base/ftp
webdir=$base/web
indices=$ftpdir/indices
echo -n "Creating md5 / dsync index file ... "
cd "$ftpdir"
-dsync-flist -q generate $dsynclist --exclude $dsynclist --md5
-dsync-flist -q md5sums $dsynclist | gzip -9n > ${md5list}.gz
-dsync-flist -q link-dups $dsynclist || true
+${bindir}/dsync-flist -q generate $dsynclist --exclude $dsynclist --md5
+${bindir}/dsync-flist -q md5sums $dsynclist | gzip -9n > ${md5list}.gz
+${bindir}/dsync-flist -q link-dups $dsynclist || true