summaryrefslogtreecommitdiffstats
path: root/cmd-or-msg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 16:14:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 16:14:31 +0000
commit2d5707c7479eacb3b1ad98e01b53f56a88f8fb78 (patch)
treed9c334e83692851c02e3e1b8e65570c97bc82481 /cmd-or-msg
parentInitial commit. (diff)
downloadrsync-2d5707c7479eacb3b1ad98e01b53f56a88f8fb78.tar.xz
rsync-2d5707c7479eacb3b1ad98e01b53f56a88f8fb78.zip
Adding upstream version 3.2.7.upstream/3.2.7
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cmd-or-msg')
-rwxr-xr-xcmd-or-msg11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmd-or-msg b/cmd-or-msg
new file mode 100755
index 0000000..ccf9527
--- /dev/null
+++ b/cmd-or-msg
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+srcdir=`dirname $0`
+opt="$1"
+shift
+
+echo "$*"
+if ! "${@}"; then
+ echo "If you can't fix the issue, re-run $srcdir/configure with --$opt."
+ exit 1
+fi