You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into an issue because my build server had ~85k orphaned volumes (image building server from late 2014 :) ) where the ls -d ${targetdir}/* command was failing.
I was able to replace it with find ${targetdir} -maxdepth 1 -type d and continue on my merry way, however I don't have the time or criteria to test and ensure that works in all cases, so I figured an issue was better than a PR.
Thanks again and hope this helps!
The text was updated successfully, but these errors were encountered:
First off, thanks for this handy script!
I ran into an issue because my build server had ~85k orphaned volumes (image building server from late 2014 :) ) where the
ls -d ${targetdir}/*
command was failing.I was able to replace it with
find ${targetdir} -maxdepth 1 -type d
and continue on my merry way, however I don't have the time or criteria to test and ensure that works in all cases, so I figured an issue was better than a PR.Thanks again and hope this helps!
The text was updated successfully, but these errors were encountered: