svn path=/main/branches/prefix/; revision=6413
sync_local() {
echo Syncing local tree...
- if type -P tarsync &> /dev/null; then
+ if type -P tarsync > /dev/null; then
# tarsync doesn't take numeric uid/gid so we need to convert them.
local inst_user="$(python -c "import pwd; print pwd.getpwuid(int('${PORTAGE_INST_UID:-0}'))[0]")"
local inst_group="$(python -c "import grp; print grp.getgrgid(int('${PORTAGE_INST_GID:-0}'))[0]")"
# Leo Lipelis <aeoo@gentoo.org>
# Karl Trygve Kalleberg <karltk@gentoo.org>
-if type -P gsed >/dev/null ; then
+if type -P gsed > /dev/null ; then
function sed() { gsed "$@"; }
fi