zuv0 commited on
Commit
af2b81a
·
verified ·
1 Parent(s): bec4455

Update gc.sh

Browse files
Files changed (1) hide show
  1. gc.sh +2 -1
gc.sh CHANGED
@@ -18,10 +18,11 @@ cd SD
18
  rm -rf output
19
  rm -rf outputs
20
 
21
- if [[ "$FLAG_1" =~ 1 ]]; then
22
  sudo rm -rf /tmp/*
23
  else
24
  find /tmp -mtime +2 -delete
25
  fi
26
 
27
  cd /workspace
 
 
18
  rm -rf output
19
  rm -rf outputs
20
 
21
+ if [ ${FLAG_1} -eq "1" ]; then
22
  sudo rm -rf /tmp/*
23
  else
24
  find /tmp -mtime +2 -delete
25
  fi
26
 
27
  cd /workspace
28
+ cd *