diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/opencolorio/opencolorio.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/graphics/opencolorio/opencolorio.SlackBuild b/graphics/opencolorio/opencolorio.SlackBuild index 9d70ea657b..e5b8be2897 100644 --- a/graphics/opencolorio/opencolorio.SlackBuild +++ b/graphics/opencolorio/opencolorio.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=opencolorio SRCNAM=OpenColorIO VERSION=${VERSION:-2.1.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -101,7 +101,14 @@ cd build cd .. -rm -rf $PKG/$TMP +BASE=$(dirname $PKG/$TMP) +while [ "$BASE" != "$PKG" ]; do + if [ "$BASE" = "/" ]; then + break + fi + rm -rf "$BASE" + BASE=$(dirname "$BASE") +done find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |