[PATCH] osmo-ttcn3-hacks[master]: Fix rmlink.sh

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Wed Dec 13 10:49:59 UTC 2017


Review at  https://gerrit.osmocom.org/5314

Fix rmlink.sh

Exclude directories with symlinks which are under version control from
link cleanup script.

Change-Id: I9b93b3918f6d277a21cd30e7dcf91cf4adcc69f2
---
M rmlinks.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/14/5314/1

diff --git a/rmlinks.sh b/rmlinks.sh
index 58ca6f3..b26fbc9 100755
--- a/rmlinks.sh
+++ b/rmlinks.sh
@@ -1,2 +1,2 @@
 #!/bin/sh
-find . -type l -exec rm \{\} \;
+find . -type l \( -path bin -o -path M3UA_CNL113537 -o -path SCCP_CNL113341 \) -prune -exec rm \{\} \;

-- 
To view, visit https://gerrit.osmocom.org/5314
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b93b3918f6d277a21cd30e7dcf91cf4adcc69f2
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list