Try to make the travis ramdisk setup tool a bit shellcheck friendlier

pull/971/head
Jesse Vincent 4 years ago
parent d9a4d1bc2c
commit 6bd1f81ea0
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -4,13 +4,13 @@
export BLDDIR=/home/travis/build export BLDDIR=/home/travis/build
df -h df -h
du -sh $HOME du -sh "$HOME"
du -sh $BLDDIR du -sh "$BLDDIR"
sudo mv $BLDDIR $BLDDIR.ori sudo mv "$BLDDIR" "$BLDDIR.ori"
sudo mkdir -p $BLDDIR sudo mkdir -p "$BLDDIR"
sudo mount -t tmpfs -o size=8192m tmps $BLDDIR sudo mount -t tmpfs -o size=8192m tmps "$BLDDIR"
time sudo cp -R $BLDDIR.ori/. $BLDDIR time sudo cp -R "$BLDDIR.ori/." "$BLDDIR"
sudo chown -R travis:travis $BLDDIR sudo chown -R travis:travis "$BLDDIR"
df -h df -h
du -sh "$HOME" du -sh "$HOME"
du -sh "$BLDDIR" du -sh "$BLDDIR"

Loading…
Cancel
Save