Skip to content

Commit

Permalink
change order of processes for a speed boost
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan P.C. McQuen committed Jul 7, 2015
1 parent ce06bfa commit 672f942
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions imgult
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,8 @@ while [ -e imgult-files.txt ]; do
wait
echo "... TUNING FLUX CAPACITOR ..."
else
RUN_OVERLOAD_PROTECTION_ENCABULATOR
## 5 waits so fast comps don't finish early
wait
wait
wait
wait
wait
## calculate the new size here, so fast comps don't finish early
du -hs "$@" > postImgultSize
echo
## thanks to patorjk.com/software/taag/
echo "****************************************************************************** "
Expand All @@ -189,12 +184,12 @@ while [ -e imgult-files.txt ]; do
echo "* Execute pre-imgulted capacity outputting: * "
cat preImgultSize
echo
echo "* Execute parametric cleaning sequence: * "
rm -v preImgultSize imgult-files.txt
echo
echo "* Execute imgulted capacity outputting: * "
## find the patented imgult savings!
du -hs "$@"
cat postImgultSize
echo
echo "* Execute parametric cleaning sequence: * "
rm -v preImgultSize postImgultSize imgult-files.txt
echo
echo "* The imgult has completed. Take care. * "
echo "****************************************************************************** "
Expand Down

0 comments on commit 672f942

Please sign in to comment.