From 9a99c3c7b0fbfa9510fb65d96ef70f96f7fd3c62 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 28 Mar 2021 16:39:30 +0200 Subject: build: fix shebangs - mangling shebang warnings - ambiguous python shebang error --- plugins/externaltools/data/build.tool.in | 2 +- plugins/externaltools/data/open-terminal-here.tool.in | 2 +- plugins/externaltools/data/remove-trailing-spaces.tool.in | 2 +- plugins/externaltools/data/run-command.tool.in | 2 +- plugins/externaltools/data/search-recursive.tool.in | 2 +- plugins/externaltools/data/switch-c.tool.in | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/externaltools') diff --git a/plugins/externaltools/data/build.tool.in b/plugins/externaltools/data/build.tool.in index d4cd7f43..d76cea10 100644 --- a/plugins/externaltools/data/build.tool.in +++ b/plugins/externaltools/data/build.tool.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/sh EHOME=`echo $HOME | sed "s/#/\#/"` DIR=$PLUMA_CURRENT_DOCUMENT_DIR diff --git a/plugins/externaltools/data/open-terminal-here.tool.in b/plugins/externaltools/data/open-terminal-here.tool.in index af35792a..46497f53 100644 --- a/plugins/externaltools/data/open-terminal-here.tool.in +++ b/plugins/externaltools/data/open-terminal-here.tool.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/sh #TODO: use "mateconftool-2 -g /desktop/mate/applications/terminal/exec" mate-terminal --working-directory=$PLUMA_CURRENT_DOCUMENT_DIR & diff --git a/plugins/externaltools/data/remove-trailing-spaces.tool.in b/plugins/externaltools/data/remove-trailing-spaces.tool.in index 83e4c19b..0569413e 100644 --- a/plugins/externaltools/data/remove-trailing-spaces.tool.in +++ b/plugins/externaltools/data/remove-trailing-spaces.tool.in @@ -1,3 +1,3 @@ -#!/bin/sh +#!/usr/bin/sh sed 's/[[:blank:]]*$//' diff --git a/plugins/externaltools/data/run-command.tool.in b/plugins/externaltools/data/run-command.tool.in index c76ed204..521e3143 100644 --- a/plugins/externaltools/data/run-command.tool.in +++ b/plugins/externaltools/data/run-command.tool.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/sh #TODO: use "gsettings get org.mate.applications-terminal exec" exec `zenity --entry --title="Run command - Pluma" --text="Command to run"` diff --git a/plugins/externaltools/data/search-recursive.tool.in b/plugins/externaltools/data/search-recursive.tool.in index 3179d346..8fc52f67 100644 --- a/plugins/externaltools/data/search-recursive.tool.in +++ b/plugins/externaltools/data/search-recursive.tool.in @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh # Copyright © 2011 Perberos # # This program is free software; you can redistribute it and/or modify it diff --git a/plugins/externaltools/data/switch-c.tool.in b/plugins/externaltools/data/switch-c.tool.in index d82dcac7..0f5c7b52 100644 --- a/plugins/externaltools/data/switch-c.tool.in +++ b/plugins/externaltools/data/switch-c.tool.in @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # -*- coding: utf-8 -*- # Copyright © 2011 Perberos # Copyright © 2012-2017 MATE developers -- cgit v1.2.1