mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
makepkg: remove some dead TODO code
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
636610432a
commit
5f0692def8
@ -1272,13 +1272,6 @@ unset optdepends options noextract
|
|||||||
if [ ! -f "$BUILDSCRIPT" ]; then
|
if [ ! -f "$BUILDSCRIPT" ]; then
|
||||||
error "$(gettext "%s does not exist.")" "$BUILDSCRIPT"
|
error "$(gettext "%s does not exist.")" "$BUILDSCRIPT"
|
||||||
exit 1
|
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
|
fi
|
||||||
|
|
||||||
source "$BUILDSCRIPT"
|
source "$BUILDSCRIPT"
|
||||||
|
Loading…
Reference in New Issue
Block a user