summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-05-23 21:39:19 (GMT)
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-05-23 21:39:19 (GMT)
commit62773d292e7ffb9a826c9bf9bf1e1a98b9c5a58d (patch)
tree810ab248c7065318b3394b8d7a9173e1fd58b0f5
parentbb468524fa7cb9a378f824cf975de1d8aa35098f (diff)
downloaduser-scripts-62773d292e7ffb9a826c9bf9bf1e1a98b9c5a58d.zip
user-scripts-62773d292e7ffb9a826c9bf9bf1e1a98b9c5a58d.tar.gz
user-scripts-62773d292e7ffb9a826c9bf9bf1e1a98b9c5a58d.tar.bz2
screencap: retain possibility to set ADB path at top of scriptrefs/keep-around/62773d292e7ffb9a826c9bf9bf1e1a98b9c5a58d
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rwxr-xr-xscreencap/screencap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/screencap/screencap.sh b/screencap/screencap.sh
index 7ed7d8c..2e227a2 100755
--- a/screencap/screencap.sh
+++ b/screencap/screencap.sh
@@ -18,7 +18,7 @@
set -e
FFMEG="ffmpeg"
-ADB=""
+ADB_PATH="adb"
FB_PATH="/dev/graphics/fb0"
SSH_HOST=""
@@ -122,7 +122,7 @@ do
done
if [ -z "${SSH_HOST}" ] ; then
- ADB="adb"
+ ADB="$ADB_PATH"
else
ADB="ssh_wrapper"
fi