OSDN Git Service

A small modification on the ownership of the temporal directory is made.
authorMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Wed, 9 Jan 2013 11:15:47 +0000 (20:15 +0900)
committerMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Wed, 9 Jan 2013 11:15:47 +0000 (20:15 +0900)
modified:   portsreinstall

portsreinstall

index 1846161..9eb68e1 100755 (executable)
@@ -10,7 +10,7 @@
 # ================================================
 
 APPNAME=`basename "$0"`
-MYVERSION=2.2.2+toward_2.2.3_20130108123936                                                                                       
+MYVERSION=2.2.2+toward_2.2.3_20130109201355                                                                                       
 
 PREFIX=${PREFIX:-/usr/local}
 CONFFILE=${PREFIX}/etc/${APPNAME}.conf
@@ -26,6 +26,7 @@ warn_update_ports ()
 }
 { until TMPDIR=`mktemp -dq /tmp/"${APPNAME}".XXXXXX 2> /dev/null` ; do : ; done ; }
 trap 'errno=$?; warn_update_ports; terminate_process; rm -r'`[ \`uname -s\` = FreeBSD ] && echo -n P`' "${TMPDIR}" 2> /dev/null; [ $errno -gt 0 -a $errno -ne 130 ] && echo "(Error exit by $errno)" >&2; exit $errno' 0 1 2 3 9 15 17 18
+chown "`id -un`:`id -gn`" "${TMPDIR}"
 
 # ============= Save arguments for updated restart =============
 restart_command ()