diff options
Diffstat (limited to 'libraries/ocaml-ounit/ocaml-ounit.SlackBuild')
-rw-r--r-- | libraries/ocaml-ounit/ocaml-ounit.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/ocaml-ounit/ocaml-ounit.SlackBuild b/libraries/ocaml-ounit/ocaml-ounit.SlackBuild index b8b2994c88..7a57709ebf 100644 --- a/libraries/ocaml-ounit/ocaml-ounit.SlackBuild +++ b/libraries/ocaml-ounit/ocaml-ounit.SlackBuild @@ -21,7 +21,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ocaml-ounit -VERSION=1.1.1 +VERSION=${VERSION:-1.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,7 +63,11 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |