summaryrefslogtreecommitdiffstats
path: root/rmlinks.sh
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-12-13 11:48:51 +0100
committerMax <msuraev@sysmocom.de>2017-12-13 14:15:08 +0100
commit70feb599178d558cf0371732f22dd861f47bf868 (patch)
tree95b964f0777b4fcaf7939d83ec74b828250ce2ce /rmlinks.sh
parent20a58c6d6f4bb80814e2ff89d4f0ac0e45ea41cc (diff)
Fix rmlink.sh
Exclude directories with symlinks which are under version control from link cleanup script. Change-Id: I9b93b3918f6d277a21cd30e7dcf91cf4adcc69f2
Diffstat (limited to 'rmlinks.sh')
-rwxr-xr-xrmlinks.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rmlinks.sh b/rmlinks.sh
index 58ca6f3..2b356a5 100755
--- a/rmlinks.sh
+++ b/rmlinks.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-find . -type l -exec rm \{\} \;
+find . -type l -not -path "./bin/*" -not -path "./M3UA_CNL113537/*" -not -path "./SCCP_CNL113341/*" -exec rm \{\} \;