Skip to content

Commit

Permalink
Applied updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Jun 10, 2023
1 parent 53bdda9 commit 92cd859
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AC_PREREQ([2.71])

AC_INIT(
[libcnotify],
[20230415],
[20230610],
[joachim.metz@gmail.com])

AC_CONFIG_SRCDIR(
Expand Down
14 changes: 2 additions & 12 deletions runtests.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
#!/usr/bin/env bash
# Script that runs the tests
#
# Version: 20220819
# Version: 20230507

EXIT_SUCCESS=0;
EXIT_FAILURE=1;
Expand Down Expand Up @@ -358,11 +358,6 @@ then
then
exit ${EXIT_FAILURE};
fi

if test -f "setup.py" && ! run_setup_py_tests ${PYTHON2};
then
exit ${EXIT_FAILURE};
fi
fi

# Test with Python 3.
Expand Down Expand Up @@ -393,11 +388,6 @@ then
then
exit ${EXIT_FAILURE};
fi

if test -f "setup.py" && ! run_setup_py_tests ${PYTHON3};
then
exit ${EXIT_FAILURE};
fi
fi

# Test with the default Python version.
Expand Down
5 changes: 3 additions & 2 deletions synclibs.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# Script that synchronizes the local library dependencies
#
# Version: 20210513
# Version: 20230510

EXIT_SUCCESS=0;
EXIT_FAILURE=1;
Expand Down Expand Up @@ -52,7 +52,8 @@ do
fi

LOCAL_LIB_UPPER=`echo "${LOCAL_LIB}" | tr "[a-z]" "[A-Z]"`;
LOCAL_LIB_VERSION=`grep -A 2 AC_INIT ${LOCAL_LIB}-$$/configure.ac | tail -n 1 | sed 's/^\s*\[\([0-9]*\)\],\s*$/\1/'`;
# Note that sed on FreeBSD does not support \s hence that we use [[:space:]] instead.
LOCAL_LIB_VERSION=`grep -A 2 AC_INIT ${LOCAL_LIB}-$$/configure.ac | tail -n 1 | sed 's/^[[:space:]]*\[\([0-9]*\)\],[[:space:]]*$/\1/'`;
LOCAL_LIB_MAKEFILE_AM="${LOCAL_LIB}/Makefile.am";

cp ${LOCAL_LIB}-$$/${LOCAL_LIB}/*.[chly] ${LOCAL_LIB};
Expand Down

0 comments on commit 92cd859

Please sign in to comment.