File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,9 +28,7 @@ scoop install git-remote-codecommit
2828To install using a shell script:
2929
3030``` sh
31- curl https://raw.githubusercontent.com/gembaadvantage/git-remote-codecommit/master/scripts/install > install
32- chmod 700 install
33- ./install
31+ curl https://raw.githubusercontent.com/gembaadvantage/git-remote-codecommit/main/scripts/install | sh
3432```
3533
3634## Quick Start
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ download() {
7070 VERSION=" $( wget -q https://api.github.com/repos/gembaadvantage/git-remote-codecommit/releases/latest -O - 2>&1 | grep " tag_name" | cut -d' "' -f4) "
7171 fi
7272
73- echo " Attempting to download git-remote-codecommit v ${VERSION} ..."
73+ echo " Attempting to download git-remote-codecommit ${VERSION} ..."
7474
7575 PACKAGE_TYPE=" tar.gz"
7676 if [ " ${OS} " == " windows" ]; then
@@ -96,7 +96,7 @@ install() {
9696 local extract_dir=" $DOWNLOAD_DIR /git-remote-codecommit-$VERSION "
9797 mkdir -p $extract_dir
9898 tar xf " $GRC_FILE " -C " ${extract_dir} "
99- sudo cp " ${extract_dir} /git-remote-codecommit" " /usr/local/bin/git-remote-codecommit"
99+ cp " ${extract_dir} /git-remote-codecommit" " /usr/local/bin/git-remote-codecommit"
100100
101101 echo " Installed git-remote-codecommit to /usr/local/bin"
102102}
You can’t perform that action at this time.
0 commit comments