scripts/history: fix file test - sob - simple output bar
(HTM) git clone git://git.codemadness.org/sob
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 9da70a634b2e6b31026cf4dc619e54fa58ecb128
(DIR) parent b857574ff5aad8444c5c84b02129dbeeab47df0b
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 3 Oct 2014 23:53:20 +0000
scripts/history: fix file test
Diffstat:
M scripts/history | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/scripts/history b/scripts/history
@@ -1,7 +1,7 @@
#!/bin/sh
-file="$OUTFILE"
-test -f x"$file" || exit 1
+file="$HISTFILE"
+test -f "$file" || exit 1
#if test x"$DISPLAY" = x""; then
# line=$(tail -n 100 "$file" | slmenu -l 20)