We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7732279 + 507782f commit ebc7ea7Copy full SHA for ebc7ea7
install.sh
@@ -6,6 +6,6 @@ tarball_url=$(curl -s https://api.github.com/repos/pgrange/bash_unit/releases |
6
tmp_dir=`mktemp -d 2>/dev/null || mktemp -d -t 'tmpdir'`
7
cd $tmp_dir
8
curl -Ls $tarball_url | tar -xz
9
-find $tmp_dir -type f -name "bash_unit" | xargs cp -t $current_working_dir
+find "${tmp_dir}" -type f -name "bash_unit" -maxdepth 2 -exec cp {} "${current_working_dir}" \;
10
rm -rf $tmpdir
11
echo "thank you for downloading bash_unit, you can now run ./bash_unit"
0 commit comments