Zhang Huangbin committed 4da2e7e


Comments (0)

Files changed (2)


     # Port directory
     export PORT_WRKDIRPREFIX='/usr/ports'
-    if [ -f /etc/make.conf ]; then
-        port_dir="$(grep WRKDIRPREFIX /etc/make.conf 2>/dev/null | awk '{print $2}')"
-        [ ! -z ${port_dir} ] && export PORT_WRKDIRPREFIX="${port_dir}"
-    fi
     # Service control.
     export enable_service="enable_service_freebsd"


         ECHO_DEBUG "Setting password for MySQL admin (${MYSQL_ROOT_USER})."
         mysqladmin --user=root password "${MYSQL_ROOT_PASSWD}"
-        ECHO_DEBUG "Grant access privilege from ${LOCAL_ADDRESS} ..."
+        ECHO_DEBUG "Grant access privilege to ${MYSQL_ROOT_USER}@${LOCAL_ADDRESS} ..."
         mysql -u${MYSQL_ROOT_USER} <<EOF
 -- Set root password
 USE mysql;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.