aboutsummaryrefslogtreecommitdiff
path: root/x11/wbar/files/patch-configure
blob: 0f97ed6e9ae043b4bae80582c5375e903e79e22e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- ./configure.orig	2012-03-03 21:40:43.000000000 +0100
+++ ./configure	2012-07-10 15:12:44.000000000 +0200
@@ -6259,7 +6259,7 @@
 fi
 
 
-PIDOF_BIN="pidof "
+PIDOF_BIN="/bin/pgrep "
 
 # Extract the first word of "pidof", so it can be a program name with args.
 set dummy pidof; ac_word=$2
@@ -7813,10 +7813,10 @@
    echo "Execute make update-po"
    echo ""
    cd po
-   make update-po | perl -ne 'print if /:$/'
+   $MAKE update-po | perl -ne 'print if /:$/'
    echo ""
    for file in $(ls *.po); do \
-       sed -i '/^\"POT-Creation-Date:.*\\n.*$/d' $file
+       sed -i.bak '/^\"POT-Creation-Date:.*\\n.*$/d' $file
    done
    cd ..
    echo "======================================="