File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
echo " PATH=$PATH " >> log.out
4
- echo " OSTYPE=$OSTYPE " > log.out
4
+ echo " OSTYPE=$OSTYPE " >> log.out
5
5
echo " --- /etc/os-release" >> log.out
6
6
cat /etc/os-release >> log.out
7
7
echo " ---" >> log.out
@@ -20,7 +20,7 @@ get_bindir() {
20
20
echo " Could not find a directory inside \$ PATH which is inside your home directory."
21
21
echo
22
22
echo " Consider adding this to ~/.bash_profile or ~/.zshenv"
23
- echo " export PATH=~/.local/bin:\" $PATH \" "
23
+ echo " export PATH=~/.local/bin:\"\ $ PATH\" "
24
24
exit 1
25
25
fi
26
26
echo " BINDIR=$BINDIR " >> log.out
@@ -88,10 +88,10 @@ install_package() {
88
88
}
89
89
90
90
install_command () {
91
- mkdir -p $BINDIR
91
+ mkdir -p " $BINDIR "
92
92
get_command_python
93
- echo -e ' #!/bin/sh\nexec ' $PYTHON ' -m goboscript "$@"' > $BINDIR /gsc
94
- chmod +x $BINDIR /gsc
93
+ echo -e ' #!/bin/sh\nexec ' " $PYTHON " ' -m goboscript "$@"' > " $BINDIR " /gsc
94
+ chmod +x " $BINDIR /gsc"
95
95
echo " Goboscript is installed, Use the gsc command to run it."
96
96
}
97
97
You can’t perform that action at this time.
0 commit comments