~ubuntu-branches/debian/sid/byobu/sid

« back to all changes in this revision

Viewing changes to usr/lib/byobu/include/common

  • Committer: Package Import Robot
  • Author(s): Alexander Chernyakhovsky
  • Date: 2013-09-28 15:29:54 UTC
  • mfrom: (0.6.4) (0.1.213 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130928152954-zqbt36kl6gjw06xz
Tags: 5.60-1
Syncing from Ubuntu

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
        # Find command/type/which
26
26
        for BYOBU_TEST in "command -v" "type" "which"; do
27
 
                $BYOBU_TEST >/dev/null && break 
 
27
                $BYOBU_TEST >/dev/null 2>&1 && break || true
28
28
        done
29
29
 
30
30
        # If the backend is already set (eg. running `byobu-tmux`), do nothing.
57
57
 
58
58
        . "${BYOBU_PREFIX}/lib/${PKG}/include/shutil"
59
59
        . "${BYOBU_PREFIX}/lib/${PKG}/include/constants"
 
60
        get_distro || true
 
61
        export BYOBU_DISTRO="$_RET"
60
62
        BYOBU_INCLUDED_LIBS=1
61
63
fi