From f05a9bafcf546fa09cc39f9fcfaa15dc1f113a6e Mon Sep 17 00:00:00 2001 From: Steve McIntyre <93sam@debian.org> Date: Mon, 18 Jul 2011 12:11:02 +0000 Subject: [PATCH] Fix calls to which_deb, not on the path --- tools/update_tasks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/update_tasks b/tools/update_tasks index 8b3d3bed..fc48328c 100755 --- a/tools/update_tasks +++ b/tools/update_tasks @@ -152,7 +152,7 @@ update_essential_list () { # Look for the coreutils package (which should exist in all archs, and is # a non -all package) to determine a valid arch for the rest of this # script -arch=$(which_deb $MIRROR $CODENAME coreutils binary | sed -e "s/\.deb//" -e "s/.*_//") +arch=$($BASEDIR/tools/which_deb $MIRROR $CODENAME coreutils binary | sed -e "s/\.deb//" -e "s/.*_//") # We need to gunzip a copy of the appropriate Packages.gz file(s) TMP_PKG=$TDIR/Packages zcat $MIRROR/dists/$CODENAME/main/binary-$arch/Packages.gz > $TMP_PKG @@ -173,7 +173,7 @@ TASKSEL_DEB=$MIRROR/`mawk ' # sid's tasksel data even if we're using stable/testing. if [ "$FORCE_SID_TASKSEL"x = "1"x ] ; then echo "update_tasks: forcing use of the sid tasksel-data tasks" - TASKSEL_DEB=$MIRROR/$(which_deb $MIRROR sid tasksel-data binary) + TASKSEL_DEB=$MIRROR/$($BASEDIR/tools/which_deb $MIRROR sid tasksel-data binary) fi dpkg -x $TASKSEL_DEB $TDIR/tasksel