From 08c2d4de6ceaff3b6959b51f5132a1e504540c37 Mon Sep 17 00:00:00 2001 From: emuse Date: Sun, 9 Apr 2023 23:53:03 +0200 Subject: [PATCH] Fixed (hopefully) sed warning on BSD (github issue #1) --- configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 3ecf3d5..c7102f5 100644 --- a/configure.ac +++ b/configure.ac @@ -180,16 +180,16 @@ if test "x$ac_buildapp" = "xyes" -o ["x$ac_lv2pluginuis" = "xyes" -a "x$ac_lv2w ], [AC_MSG_NOTICE([translations are disabled])]) # Modify the entries in the LV2 ttl files according to Qt version - + if test "x$ac_qtversion" = "xqt5"; then - sed -i "s/Qt4UI/Qt5UI/g" qmidiarp_arp.lv2/qmidiarp_arp_ui.ttl - sed -i "s/Qt4UI/Qt5UI/g" qmidiarp_lfo.lv2/qmidiarp_lfo_ui.ttl - sed -i "s/Qt4UI/Qt5UI/g" qmidiarp_seq.lv2/qmidiarp_seq_ui.ttl + sed -i"" "s/Qt4UI/Qt5UI/g" qmidiarp_arp.lv2/qmidiarp_arp_ui.ttl + sed -i"" "s/Qt4UI/Qt5UI/g" qmidiarp_lfo.lv2/qmidiarp_lfo_ui.ttl + sed -i"" "s/Qt4UI/Qt5UI/g" qmidiarp_seq.lv2/qmidiarp_seq_ui.ttl fi if test "x$ac_qtversion" = "xqt4"; then - sed -i "s/Qt5UI/Qt4UI/g" qmidiarp_arp.lv2/qmidiarp_arp_ui.ttl - sed -i "s/Qt5UI/Qt4UI/g" qmidiarp_lfo.lv2/qmidiarp_lfo_ui.ttl - sed -i "s/Qt5UI/Qt4UI/g" qmidiarp_seq.lv2/qmidiarp_seq_ui.ttl + sed -i"" "s/Qt5UI/Qt4UI/g" qmidiarp_arp.lv2/qmidiarp_arp_ui.ttl + sed -i"" "s/Qt5UI/Qt4UI/g" qmidiarp_lfo.lv2/qmidiarp_lfo_ui.ttl + sed -i"" "s/Qt5UI/Qt4UI/g" qmidiarp_seq.lv2/qmidiarp_seq_ui.ttl fi else AM_CONDITIONAL([ENABLE_TRANSLATIONS], false)