Skip to content

Commit

Permalink
Fix shell script (shellcheck)
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Jun 11, 2021
1 parent 4825fae commit 3e4eb48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ img_url="https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-a
script_dirname="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
outdir="${script_dirname}/_output"

rm -Rf $outdir
mkdir -p $outdir
rm -Rf "$outdir"
mkdir -p "$outdir"

curl -L -o "${outdir}/linux-image.deb" $vmlinux_url
curl -L -o "${outdir}/linux-modules.deb" $modules_url
curl -L -o "${outdir}/rootfs.tar.gz" $img_url

cd $outdir
cd "$outdir"

tar -xvf rootfs.tar.gz

Expand Down
2 changes: 1 addition & 1 deletion components/ee/agent-smith/scripts/scp.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

sshpass -p 'root' scp -o StrictHostKeychecking=no -P 2222 $@
sshpass -p 'root' scp -o StrictHostKeychecking=no -P 2222 "$@"

0 comments on commit 3e4eb48

Please sign in to comment.