summaryrefslogtreecommitdiff
path: root/sysutils/intel-undervolt/files/patch-configure
blob: 5b30e749bf4db90aefa439d6606a0e74abb9edc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.orig	2023-08-23 20:56:30 UTC
+++ configure
@@ -65,7 +65,7 @@
   printf '%s' "s,^\($1 =\).*$,\1 $2,"
 }
 
-sed Makefile.in \
+sed \
 -e "`sedcond SYSTEMD "$enable_systemd"`" \
 -e "`sedcond ELOGIND "$enable_elogind"`" \
 -e "`sedcond OPENRC "$enable_openrc"`" \
@@ -74,7 +74,7 @@
 -e "`sedarg RUNSTATEDIR "$runstatedir"`" \
 -e "`sedarg UNITDIR "$unitdir"`" \
 -e "`sedarg ELOGINDDIR "$eloginddir"`" \
-> Makefile || exit 1
+Makefile.in > Makefile || exit 1
 
 echo "Enable systemd: $enable_systemd"
 echo "Enable elogind: $enable_elogind"