From 21ad0bd3adda75cd126f81931eb8227abbe3346c Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 27 Jan 2018 16:28:30 +0100 Subject: [PATCH] Fix location of $HOME/lib/ax in example code --- lib/ax/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ax/README b/lib/ax/README index 1b85fe0..cc55ade 100644 --- a/lib/ax/README +++ b/lib/ax/README @@ -1,5 +1,5 @@ ax-unix: Alex' UNIX Tools & Scripts -Copyright (c)2013-2017 Alexander Barton (alex@barton.de) +Copyright (c)2013-2018 Alexander Barton (alex@barton.de) This directory contains library files to use in 3rd party applications and scripts. Please see below for usage information. @@ -18,7 +18,7 @@ Use something like the following in your scrips: ----> cut here <--------------------------------------------------------------- # Include "ax-common.sh": ax_common_sourced= -for dir in "$HOME/lib" "$HOME/.ax" /usr/local /opt/ax /usr; do +for dir in "$HOME" "$HOME/.ax" /usr/local /opt/ax /usr; do [ -z "$ax_common_sourced" ] || break ax_common="${dir}/lib/ax/ax-common.sh" # shellcheck source=/usr/local/lib/ax/ax-common.sh -- 2.39.2