summaryrefslogtreecommitdiffstats
path: root/scripts/makeworld
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makeworld')
-rwxr-xr-xscripts/makeworld8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/makeworld b/scripts/makeworld
index c42013c7..30418afd 100755
--- a/scripts/makeworld
+++ b/scripts/makeworld
@@ -2,7 +2,7 @@
#
# makeworld
#
-# Copyright (c) 2002-2004 by Judd Vinet <jvinet@zeroflux.org>
+# Copyright (c) 2002-2005 by Judd Vinet <jvinet@zeroflux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,8 +20,8 @@
# USA.
#
+version="2.9.6"
toplevel=`pwd`
-version="2.9.2"
usage() {
echo "makeworld version $version"
@@ -106,12 +106,12 @@ fi
# convert a (possibly) relative path to absolute
cd $dest
dest=`pwd`
-cd -
+cd - &>/dev/null
sd=`date +"[%b %d %H:%M]"`
for category in $*; do
- for port in `find $toplevel/$category -type d -maxdepth 1 -mindepth 1 | sort`; do
+ for port in `find $toplevel/$category -maxdepth 1 -mindepth 1 -type d | sort`; do
cd $port
if [ -f PKGBUILD ]; then
. PKGBUILD