* TODO.dan updates.

Alessio 'mOLOk' Bolognino <themolok.ml@gmail.com>
* Make makeworld compatable with makepkg lacking -w option.
This commit is contained in:
Dan McGee 2007-03-20 19:16:17 +00:00
parent b6018c436d
commit 8ded2051d2
2 changed files with 8 additions and 5 deletions

View file

@ -24,6 +24,9 @@ keep, etc. Good python script in the forums that we should try to emulate.
Downgrade feature - allow users to see cached packages and downgrade to Downgrade feature - allow users to see cached packages and downgrade to
(previous or any?) available options. (previous or any?) available options.
Installed size and download size in -Si/Qi output should scale with package
size- KB to MB to GB. We should also get consistancy of K/KB, M/MB, etc.
Extreme similarity between some of the sync and add code...we have to be able Extreme similarity between some of the sync and add code...we have to be able
to abstract more away from sync actions and add actions to just 'actions' to abstract more away from sync actions and add actions to just 'actions'
(example: sync,c, add.c, and deptest.c all contain a switch on PM_DEP_MOD_*). (example: sync,c, add.c, and deptest.c all contain a switch on PM_DEP_MOD_*).

View file

@ -131,20 +131,20 @@ if [ "$dest" = "" ]; then
fi fi
# convert a (possibly) relative path to absolute # convert a (possibly) relative path to absolute
cd $dest cd "$dest"
dest=$(pwd) dest="$(pwd)"
cd - &>/dev/null cd - &>/dev/null
sd=$(date +"[%b %d %H:%M]") sd=$(date +"[%b %d %H:%M]")
for category in $*; do for category in $*; do
for port in $(find $toplevel/$category -maxdepth 1 -mindepth 1 -type d | sort); do for port in $(find "$toplevel/$category" -maxdepth 1 -mindepth 1 -type d | sort); do
cd $port cd $port
if [ -f PKGBUILD ]; then if [ -f PKGBUILD ]; then
. PKGBUILD . PKGBUILD
buildstatus=0 buildstatus=0
if [ ! -f $dest/$pkgname-$pkgver-$pkgrel.pkg.tar.gz ]; then if [ ! -f "$dest/$pkgname-$pkgver-$pkgrel.pkg.tar.gz" ]; then
makepkg $MAKEPKG_OPTS -m -w $dest 2>>$toplevel/makepkg.log PKGDEST="$dest" makepkg $MAKEPKG_OPTS -m 2>>$toplevel/makepkg.log
if [ $? -gt 0 ]; then if [ $? -gt 0 ]; then
buildstatus=2 buildstatus=2
else else