]> arthur.barton.de Git - ax-unix.git/blobdiff - lib/ax/README
mail-wrapper: Implement new --time [-t] option to show the duration
[ax-unix.git] / lib / ax / README
index 581418ada2932018a6fa3c5decca4beff33a6338..cc55ade8fe467d65369028ea60ac92c12b4057d9 100644 (file)
@@ -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,14 +18,14 @@ 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
        [ -r "$ax_common" ] && . "$ax_common"
 done
 if [ -z "$ax_common_sourced" ]; then
-       echo "Error ($(basename "$0")): \"ax-common.sh\" not found, aborting!"
+       echo "Error ($(basename "$0")): \"ax-common.sh\" not found, aborting!" >&2
        echo "Please install 'ax-unix', \"Alex' UNIX Tools & Scripts\", and try again."
        exit 99
 fi