[Assorted-commits] SF.net SVN: assorted:[1557] shell-tools/trunk/src/bash-commons/common.bash
Brought to you by:
yangzhang
From: <yan...@us...> - 2010-01-30 18:10:55
|
Revision: 1557 http://assorted.svn.sourceforge.net/assorted/?rev=1557&view=rev Author: yangzhang Date: 2010-01-30 18:10:45 +0000 (Sat, 30 Jan 2010) Log Message: ----------- tweak so bootstrap.bash doesn't throw up Modified Paths: -------------- shell-tools/trunk/src/bash-commons/common.bash Modified: shell-tools/trunk/src/bash-commons/common.bash =================================================================== --- shell-tools/trunk/src/bash-commons/common.bash 2010-01-26 19:24:52 UTC (rev 1556) +++ shell-tools/trunk/src/bash-commons/common.bash 2010-01-30 18:10:45 UTC (rev 1557) @@ -531,7 +531,7 @@ refresh-opt() { local pkg_user= - if [[ "$PKG_USER" ]] ; then + if [[ "${PKG_USER:-}" ]] ; then pkg_user="$PKG_USER" elif sudo -u pkg echo -n ; then pkg_user=pkg This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |