From 70feb599178d558cf0371732f22dd861f47bf868 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 13 Dec 2017 11:48:51 +0100 Subject: Fix rmlink.sh Exclude directories with symlinks which are under version control from link cleanup script. Change-Id: I9b93b3918f6d277a21cd30e7dcf91cf4adcc69f2 --- rmlinks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rmlinks.sh') diff --git a/rmlinks.sh b/rmlinks.sh index 58ca6f38..2b356a52 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 \{\} \; -- cgit v1.2.3