makepkg: remove some dead TODO code

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2008-05-30 19:32:28 -05:00
parent 636610432a
commit 5f0692def8
1 changed files with 0 additions and 7 deletions

View File

@ -1272,13 +1272,6 @@ unset optdepends options noextract
if [ ! -f "$BUILDSCRIPT" ]; then
error "$(gettext "%s does not exist.")" "$BUILDSCRIPT"
exit 1
#TODO this is an attempt at a generic way to unset all package specific
#variables in a PKGBUILD
#else
# #this is fun.... we'll unset
# for var in $(grep "=" $BUILDSCRIPT | sed "s|.*\(\<.*\>\)=.*|\1|g"); do
# unset $var
# done
fi
source "$BUILDSCRIPT"