Removed extra whitespaces in bin script

This commit is contained in:
Daniel Dayley 2021-11-03 18:39:29 -06:00
parent 089bdc96d0
commit 74ba3293fc

View File

@ -149,7 +149,7 @@ new_python_tool() {
fi fi
else : else :
sed_i 's#.*plugins.*##g' ./"$NAME"/setup.py sed_i 's#.*plugins.*##g' ./"$NAME"/setup.py
sed_i "s/.*##PLUGIN_\(.*\)//g" ./"$NAME"/bin/"$NAME" sed_i "/.*##PLUGIN_\(.*\)/d" ./"$NAME"/bin/"$NAME"
fi fi
# Configure package to install a default configuration file? # Configure package to install a default configuration file?
@ -162,7 +162,7 @@ new_python_tool() {
sed_i "s/.*##CONFIG_\(.*\)/\1/g" ./"$NAME"/bin/"$NAME" 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.") 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 else
sed_i "s/.*##CONFIG_\(.*\)//g" ./"$NAME"/bin/"$NAME" sed_i "/.*##CONFIG_\(.*\)/d" ./"$NAME"/bin/"$NAME"
rm ./"$NAME"/config.yml rm ./"$NAME"/config.yml
fi fi