Skip to content

Commit

Permalink
Fix svn-clean script for symlinks to directories
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18199 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 19, 2013
1 parent 67a40b3 commit 2927bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svn-clean.py
Expand Up @@ -5,7 +5,7 @@
import re

def removeall(path):
if not os.path.isdir(path):
if os.path.islink(path) or not os.path.isdir(path):
os.remove(path)
return
files=os.listdir(path)
Expand Down

0 comments on commit 2927bb8

Please sign in to comment.