]> arthur.ath.cx Git - ax-unix.git/commitdiff
Fix location of $HOME/lib/ax in example code
authorAlexander Barton <alex@barton.de>
Sat, 27 Jan 2018 15:28:30 +0000 (16:28 +0100)
committerAlexander Barton <alex@barton.de>
Sat, 27 Jan 2018 15:28:30 +0000 (16:28 +0100)
lib/ax/README

index 1b85fe01bbd74627de7c7a401a5f1e86d192b2cb..cc55ade8fe467d65369028ea60ac92c12b4057d9 100644 (file)
@@ -1,5 +1,5 @@
 ax-unix: Alex' UNIX Tools & Scripts
 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.
 
 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=
 ----> 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
        [ -z "$ax_common_sourced" ] || break
        ax_common="${dir}/lib/ax/ax-common.sh"
        # shellcheck source=/usr/local/lib/ax/ax-common.sh