Skip to content

Commit

Permalink
Merge pull request #1 from MaxHearnden/patch-1
Browse files Browse the repository at this point in the history
Quote arguments in linux.sh
  • Loading branch information
oneofthezombies committed Apr 7, 2024
2 parents 22fad16 + a520ecd commit 3fbba74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions installs/linux.sh
Expand Up @@ -18,7 +18,7 @@ if [ -z "$bin_path" ]; then
fi

temp_dir=$(mktemp -d)
cd $temp_dir
cd -- "$temp_dir"

echo "If required, please enter your password for sudo access..."

Expand All @@ -28,8 +28,8 @@ curl -L -s https://api.github.com/repos/oneofthezombies/kill-tree/releases/lates
cut -d '"' -f 4 | \
xargs curl -L -s -o kill-tree && \
chmod +x kill-tree && \
mv -f kill-tree $bin_path/kill-tree && \
rm -rf $temp_dir
mv -f kill-tree "$bin_path/kill-tree" && \
rm -rf -- "$temp_dir"

echo "kill-tree install location: $bin_path/kill-tree"

Expand Down

0 comments on commit 3fbba74

Please sign in to comment.