aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/configure
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/configure')
-rwxr-xr-xhardinfo2/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo2/configure b/hardinfo2/configure
index 26ab11b3..1b43e8ca 100755
--- a/hardinfo2/configure
+++ b/hardinfo2/configure
@@ -24,7 +24,7 @@ PACKAGE=`basename ${PWD} | cut -d"-" -f1`;
VERSION=`basename ${PWD} | cut -d"-" -f2`;
if [ "$PACKAGE" == "$VERSION" ]; then
- VERSION=$(printf "SVN_%d" $(svn -R info|grep Revision|cut -d: -f2|sort -n|tail -n1))
+ VERSION=$(printf "SVN_%d" $(LC_ALL=C svn -R info|grep Revision|cut -d: -f2|sort -n|tail -n1))
RELEASE=0
else
RELEASE=1
@@ -194,7 +194,7 @@ echo "#define PREFIX \"/usr/share/hardinfo/\"" >> config.h
echo "#define LIBPREFIX \"/usr/lib/hardinfo/\"" >> config.h
if [ "$RELEASE" == "1" ]; then
- echo "#define DEBUG(...) (void)" >> config.h
+ echo "#define DEBUG(...)" >> config.h
else
echo '#define DEBUG(msg,...) fprintf(stderr, "*** %s:%d (%s) *** " msg "\n", \' >> config.h
echo ' __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__)' >> config.h