summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2021-03-28 16:39:30 +0200
committerraveit65 <[email protected]>2021-04-01 17:08:45 +0200
commit9a99c3c7b0fbfa9510fb65d96ef70f96f7fd3c62 (patch)
tree20af97fd083feeabfbfa17c953e4b21325c9c221
parent8c4d1a8f38aa0cbf9bed07dd0631f223e1ada0fd (diff)
downloadpluma-9a99c3c7b0fbfa9510fb65d96ef70f96f7fd3c62.tar.bz2
pluma-9a99c3c7b0fbfa9510fb65d96ef70f96f7fd3c62.tar.xz
build: fix shebangs
- mangling shebang warnings - ambiguous python shebang error
-rw-r--r--data/pluma-bugreport.sh.in2
-rw-r--r--plugins/externaltools/data/build.tool.in2
-rw-r--r--plugins/externaltools/data/open-terminal-here.tool.in2
-rw-r--r--plugins/externaltools/data/remove-trailing-spaces.tool.in2
-rw-r--r--plugins/externaltools/data/run-command.tool.in2
-rw-r--r--plugins/externaltools/data/search-recursive.tool.in2
-rw-r--r--plugins/externaltools/data/switch-c.tool.in2
7 files changed, 7 insertions, 7 deletions
diff --git a/data/pluma-bugreport.sh.in b/data/pluma-bugreport.sh.in
index a0270db4..28dc1b92 100644
--- a/data/pluma-bugreport.sh.in
+++ b/data/pluma-bugreport.sh.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/sh
PKG_CONFIG_MODULES="glib-2.0 gtk+-3.0 gtksourceview-4 enchant iso-codes"
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