File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ move_exec_file() {
138138 if [[ $( uname) == " Darwin" ]]; then
139139 # Transform the Python file into an executable
140140 echo ' #!/usr/bin/env python' > " gitsync"
141- echo ' python /usr/local/bin/$source_file_name "$@"' >> " gitsync"
141+ echo ' python3 /usr/local/bin/$source_file_name "$@"' >> " gitsync"
142142 chmod +x " gitsync"
143143
144144 # Move the executable file to /usr/local/bin/
@@ -151,7 +151,7 @@ move_exec_file() {
151151 else
152152 # Transform the Python file into an executable
153153 echo ' #!/usr/bin/env python' > " gitsync"
154- echo ' python /usr/local/bin/$source_file_name "$@"' >> " gitsync"
154+ echo ' python3 /usr/local/bin/$source_file_name "$@"' >> " gitsync"
155155 chmod +x " gitsync"
156156
157157 # Move the executable file to the appropriate location
@@ -241,4 +241,4 @@ main() {
241241 echo " -------------------------------------------------------------------"
242242}
243243
244- main
244+ main
You can’t perform that action at this time.
0 commit comments