Module: kamailio
Branch: master
Commit: de93509c3335d6969eac5389a3f5715b98222ba2
URL:
https://github.com/kamailio/kamailio/commit/de93509c3335d6969eac5389a3f5715…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2017-09-30T16:41:42-04:00
pkg/kamailio/alpine_docker: Fixed missed symbolic links
---
Modified: pkg/kamailio/alpine_docker/build.sh
---
Diff:
https://github.com/kamailio/kamailio/commit/de93509c3335d6969eac5389a3f5715…
Patch:
https://github.com/kamailio/kamailio/commit/de93509c3335d6969eac5389a3f5715…
---
diff --git a/pkg/kamailio/alpine_docker/build.sh b/pkg/kamailio/alpine_docker/build.sh
index 71cf1e170b..dee81c7467 100755
--- a/pkg/kamailio/alpine_docker/build.sh
+++ b/pkg/kamailio/alpine_docker/build.sh
@@ -107,8 +107,10 @@ find_binaries() {
sort $FILELIST_BINARY | sort | uniq > $FILELIST_BINARY.new
mv -f $FILELIST_BINARY.new $FILELIST_BINARY
- # Resolving simbolic links
+ # Resolving symbolic links and removing duplicates
cat $FILELIST_BINARY | xargs realpath > $FILELIST_BINARY.new
+ cat $FILELIST_BINARY.new >> $FILELIST_BINARY
+ sort $FILELIST_BINARY | sort | uniq > $FILELIST_BINARY.new
mv -f $FILELIST_BINARY.new $FILELIST_BINARY
}