]> arthur.barton.de Git - ax-unix.git/commitdiff
ax-common: Bump API version to 2
authorAlexander Barton <alex@barton.de>
Sun, 22 Oct 2017 19:18:27 +0000 (21:18 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 22 Oct 2017 19:18:27 +0000 (21:18 +0200)
lib/ax/ax-common.sh

index 189d7ca20aa6be39122e5e98b00d32d09a08143a..a5b4efdc57a95456b7cafc17b7c22ad60e8ccf7f 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 # ax-common.sh -- Common Functions for Shell Scripts
-# Copyright (c)2013-2015 Alexander Barton (alex@barton.de)
+# Copyright (c)2013-2017 Alexander Barton (alex@barton.de)
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -9,8 +9,10 @@
 # (at your option) any later version.
 #
 
+# "ax_common_sourced" is a flag and stores the "API version" of "ax-common.sh",
+# too. It should be incremented each time the public API changes!
 # shellcheck disable=SC2034
-ax_common_sourced=1
+ax_common_sourced=2
 
 # Display a colored message.
 #  $1    Level: -=title, 0=ok, 1=warning, 2=error.