summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-10 00:51:41 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-10 00:51:41 +0000
commit630a8f7b1a19790d4d0e0a308e4f9b8fd04f2a5f (patch)
treef42a6f388b0604866fc03403eb28702c1372125f /TOOLS
parent9a84232f4564fdb4aee5401b370ddfac012e669e (diff)
downloadmpv-630a8f7b1a19790d4d0e0a308e4f9b8fd04f2a5f.tar.bz2
mpv-630a8f7b1a19790d4d0e0a308e4f9b8fd04f2a5f.tar.xz
Fix usage for common users that may not have fbset in their path.
Idea by D Richard Felker III. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7697 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/mpconsole2
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/mpconsole b/TOOLS/mpconsole
index 37bb5424fe..e9c016d930 100755
--- a/TOOLS/mpconsole
+++ b/TOOLS/mpconsole
@@ -4,7 +4,7 @@
# Written by Rich Felker.
trap "tput cnorm ; exit 1" SIGQUIT SIGINT EXIT
-res=`fbset | grep geometry | sed 's/^ *//'`
+res=`PATH="$PATH:/usr/sbin" fbset | grep geometry | sed 's/^ *//'`
width=`echo "$res" | cut -d' ' -f2`
height=`echo "$res" | cut -d' ' -f3`
tput civis