13
0

Avoid .sh file extension

This commit is contained in:
Robin Gareus 2022-12-03 15:03:44 +01:00
parent 30efb2f178
commit 1736b1d424
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 5 additions and 5 deletions

View File

@ -137,8 +137,8 @@ ZeroConf::start ()
std::string avahi_exec;
PBD::Searchpath sp (ARDOUR::ardour_dll_directory ());
if (!PBD::find_file (sp, "ardour-avahi.sh", avahi_exec)) {
PBD::warning << "ardour-avahi.sh was not found." << endmsg;
if (!PBD::find_file (sp, "ardour-avahi", avahi_exec)) {
PBD::warning << _("ardour-avahi tool was not found.") << endmsg;
return false;
}

View File

@ -506,8 +506,8 @@ EOF
chmod +x $APPLIB/ardour-util.sh
fi
cp $BUILD_ROOT/avahi.sh $APPLIB/ardour-avahi.sh
chmod +x $APPLIB/ardour-avahi.sh
cp $BUILD_ROOT/libs/ardour-avahi $APPLIB/ardour-avahi
chmod +x $APPLIB/ardour-avahi
OURLIBDIR=$BUILD_ROOT/libs
OURLIBS=$OURLIBDIR/ctrl-interface/midi_surface:$OURLIBDIR/ctrl-interface/control_protocol:$OURLIBDIR/ardour:$OURLIBDIR/midi++2:$OURLIBDIR/pbd:$OURLIBDIR/gtkmm2ext:$OURLIBDIR/glibmm2:$OURLIBDIR/canvas:$OURLIBDIR/widgets:$OURLIBDIR/waveview:$OURLIBDIR/evoral:$OURLIBDIR/evoral/src/libsmf:$OURLIBDIR/audiographer:$OURLIBDIR/temporal:$OURLIBDIR/libltc:$OURLIBDIR/qm-dsp:$OURLIBDIR/ardouralsautil:$OURLIBDIR/ptformat:$BUILD_ROOT/gtk2_ardour

View File

@ -1622,7 +1622,7 @@ def build(bld):
obj = bld(features = 'subst')
obj.source = 'tools/avahi.sh'
obj.target = 'libs/ardour-avahi.sh'
obj.target = 'libs/ardour-avahi'
obj.chmod = Utils.O755
obj.install_path = bld.env['LIBDIR']