Skip to content

Commit

Permalink
move to curl
Browse files Browse the repository at this point in the history
some users don't have wget
  • Loading branch information
natemacfadden committed Feb 22, 2024
1 parent cbf4ae8 commit 77e5180
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/linux/cytools
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ updateCYTools() {
tmp_dir="cytools-update-$RANDOM"
mkdir $tmp_dir
cd $tmp_dir
curl -s https://api.github.com/repos/LiamMcAllisterGroup/cytools/tags | grep "tarball_url" | grep -Eo 'https://[^\"]*' | sed -n '1p' | xargs wget -q -O - | tar -xz --strip-components 1
curl -s https://api.github.com/repos/LiamMcAllisterGroup/cytools/tags | grep "tarball_url" | grep -Eo 'https://[^\"]*' | sed -n '1p' | xargs curl -s -L -o - | tar -xz --strip-components 1
make install
cd /tmp/
rm -rf $tmp_dir
Expand All @@ -40,7 +40,7 @@ updateCYToolsFast() {
tmp_dir="cytools-update-$RANDOM"
mkdir $tmp_dir
cd $tmp_dir
curl -s https://api.github.com/repos/LiamMcAllisterGroup/cytools/tags | grep "tarball_url" | grep -Eo 'https://[^\"]*' | sed -n '1p' | xargs wget -q -O - | tar -xz --strip-components 1
curl -s https://api.github.com/repos/LiamMcAllisterGroup/cytools/tags | grep "tarball_url" | grep -Eo 'https://[^\"]*' | sed -n '1p' | xargs curl -s -L -o - | tar -xz --strip-components 1
make build-fast
cd /tmp/
rm -rf $tmp_dir
Expand Down
4 changes: 2 additions & 2 deletions scripts/macos/cytools
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ updateCYTools() {
tmp_dir="cytools-update-$RANDOM"
mkdir $tmp_dir
cd $tmp_dir
curl -s https://api.github.com/repos/LiamMcAllisterGroup/cytools/tags | grep "tarball_url" | grep -Eo 'https://[^\"]*' | sed -n '1p' | xargs wget -q -O - | tar -xz --strip-components 1
curl -s https://api.github.com/repos/LiamMcAllisterGroup/cytools/tags | grep "tarball_url" | grep -Eo 'https://[^\"]*' | sed -n '1p' | xargs curl -s -L -o - | tar -xz --strip-components 1
make install
cd /tmp/
rm -rf $tmp_dir
Expand All @@ -40,7 +40,7 @@ updateCYToolsFast() {
tmp_dir="cytools-update-$RANDOM"
mkdir $tmp_dir
cd $tmp_dir
curl -s https://api.github.com/repos/LiamMcAllisterGroup/cytools/tags | grep "tarball_url" | grep -Eo 'https://[^\"]*' | sed -n '1p' | xargs wget -q -O - | tar -xz --strip-components 1
curl -s https://api.github.com/repos/LiamMcAllisterGroup/cytools/tags | grep "tarball_url" | grep -Eo 'https://[^\"]*' | sed -n '1p' | xargs curl -s -L -o - | tar -xz --strip-components 1
make build-fast
cd /tmp/
rm -rf $tmp_dir
Expand Down

0 comments on commit 77e5180

Please sign in to comment.