From 74ba3293fcb50516950c0d6268d146bb7b4882b6 Mon Sep 17 00:00:00 2001 From: Daniel Dayley Date: Wed, 3 Nov 2021 18:39:29 -0600 Subject: [PATCH] Removed extra whitespaces in bin script --- new_python_tool.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/new_python_tool.sh b/new_python_tool.sh index a8f9f9f..e413384 100755 --- a/new_python_tool.sh +++ b/new_python_tool.sh @@ -149,7 +149,7 @@ new_python_tool() { fi else : sed_i 's#.*plugins.*##g' ./"$NAME"/setup.py - sed_i "s/.*##PLUGIN_\(.*\)//g" ./"$NAME"/bin/"$NAME" + sed_i "/.*##PLUGIN_\(.*\)/d" ./"$NAME"/bin/"$NAME" fi # Configure package to install a default configuration file? @@ -162,7 +162,7 @@ new_python_tool() { sed_i "s/.*##CONFIG_\(.*\)/\1/g" ./"$NAME"/bin/"$NAME" PYTHON_TOOL_WARNINGS+=("You'll need to install a copy of the config file yourself for debugging, as config.yml will only be installed when the package is installed.") else - sed_i "s/.*##CONFIG_\(.*\)//g" ./"$NAME"/bin/"$NAME" + sed_i "/.*##CONFIG_\(.*\)/d" ./"$NAME"/bin/"$NAME" rm ./"$NAME"/config.yml fi