OSDN Git Service

Version 3.0.5+toward_3.0.6_20140530170941
[portsreinstall/current.git] / bin / portsreinstall
index 94d7a69..18b72fa 100755 (executable)
@@ -15,7 +15,7 @@ APPNAME=`basename "$0"`
 # MYVERSION=3.0.6
 # COMPATIBLE_VERSIONS='^(3\.0\.[0-9]+)$'
 # Template for development versions
-MYVERSION=3.0.5+toward_3.0.6_20140530040947
+MYVERSION=3.0.5+toward_3.0.6_20140530170941
 COMPATIBLE_VERSIONS='^(3\.0\.[0-9]+\+toward_3\.0\.[0-9]+_[0-9]+|3\.0\.[0-9]+)$'
 MYPREFIX=`dirname "\`dirname \"$0\"\`" | sed 's|/bin$||'`
 MYPREFIX=${MYPREFIX:-/usr/local}
@@ -40,7 +40,6 @@ LIBDIR=${MYPREFIX}/lib/${APPNAME}
 
 misc_init_vardefs
 temp_trap_init
-conf_setup_envs
 DBDIR=/var/tmp/${APPNAME}.db
 CONFFILE=${MYPREFIX}/etc/${APPNAME}.conf
 PKGTOOLSCONF=${MYPREFIX}/etc/pkgtools.conf
@@ -93,6 +92,10 @@ then
        exit
 fi
 
+# ============= Set up variables for environment of ports and packages =============
+conf_setup_ports_envs
+conf_setup_packages_envs
+
 # ============= Execute command operations before getting the temporary database ready =============
 command_exec_before_db_creation "$@"