Changeset 456


Ignore:
Timestamp:
Oct 22, 2012, 10:17:19 PM (8 years ago)
Author:
amain
Message:

bitten: fix build problem in clean script, ahum, sort -V

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/contrib/bitten/scripts/clean.sh

    r429 r456  
    4141function keep-last()
    4242{
    43    echo "I: cleaning directory ${work}"
     43   echo "I: cleaning builds in ${work}"
    4444
    4545   find ${work} -maxdepth 1 -name "build_user*"  \
    46      | sort \
     46     | sort -V \
    4747     | head -n -2 \
    4848     | while read dir
    4949       do
    5050          echo -n "   ${dir}..."
    51           sudo rm -rf ${dir}
     51          #sudo rm -rf ${dir}
    5252          echo "done"
    5353       done
Note: See TracChangeset for help on using the changeset viewer.