Skip to content

Commit

Permalink
fix mixed spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah committed Dec 9, 2024
1 parent e2e5269 commit a14046e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mcu-util/warn_renamed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PROGRAM="orb-mcu-util"

if [ -t 0 ] ; then
# Interactive terminal, print a warning
echo "$(tput setaf 1)WARNING: this program has been moved to /usr/local/bin/${PROGRAM}, this wrapper will be removed in the next release$(tput sgr0)" >&2
echo "$(tput setaf 1)WARNING: this program has been moved to /usr/local/bin/${PROGRAM}, this wrapper will be removed in the next release$(tput sgr0)" >&2
else
PARENT=$(cat /proc/$PPID/cmdline | tr \\0 \ )
echo "moved to /usr/local/bin/${PROGRAM}" | systemd-cat -t ${PROGRAM} -p warning
Expand Down
2 changes: 1 addition & 1 deletion thermal-cam-ctrl/warn_renamed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PROGRAM="orb-thermal-cam-ctrl"

if [ -t 0 ] ; then
# Interactive terminal, print a warning
echo "$(tput setaf 1)WARNING: this program has been moved to /usr/local/bin/${PROGRAM}, this wrapper will be removed in the next release$(tput sgr0)" >&2
echo "$(tput setaf 1)WARNING: this program has been moved to /usr/local/bin/${PROGRAM}, this wrapper will be removed in the next release$(tput sgr0)" >&2
else
PARENT=$(cat /proc/$PPID/cmdline | tr \\0 \ )
echo "moved to /usr/local/bin/${PROGRAM}" | systemd-cat -t ${PROGRAM} -p warning
Expand Down

0 comments on commit a14046e

Please sign in to comment.