git hooks: Remove "source" bashism
authorTormod Volden <debian.tormod@gmail.com>
Wed, 22 Sep 2021 13:55:33 +0000 (15:55 +0200)
committerTormod Volden <debian.tormod@gmail.com>
Thu, 23 Sep 2021 08:52:11 +0000 (10:52 +0200)
"source" is not supported in Bourne shell

Closes #997

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
.private/post-rewrite.sh
.private/pre-commit.sh
libusb/version_nano.h

index 60ec3e4..d1f9999 100755 (executable)
@@ -6,7 +6,7 @@
 # .git/hooks/ with the following content:
 # #!/bin/sh
 # if [ -x .private/post-rewrite.sh ]; then
-#   source .private/post-rewrite.sh
+#   . .private/post-rewrite.sh
 # fi
 #
 # NOTE: These versioning hooks are intended to be used *INTERNALLY* by the
index 48328f8..1c30c0f 100755 (executable)
@@ -8,7 +8,7 @@
 # .git/hooks/ with the following content:
 # #!/bin/sh
 # if [ -x .private/pre-commit.sh ]; then
-#   source .private/pre-commit.sh
+#   . .private/pre-commit.sh
 # fi
 #
 # NOTE: These versioning hooks are intended to be used *INTERNALLY* by the
index c1bd32c..0243e23 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 11655
+#define LIBUSB_NANO 11656