Admin/lib/Tools/makedist_bundle
changeset 52561 722d65595e8e
parent 52542 19d674acb764
child 52668 a467a6b4376c
equal deleted inserted replaced
52560:9e6b59cd5560 52561:722d65595e8e
   145       do
   145       do
   146         cp -a "$ISABELLE_HOME/Admin/Windows/Cygwin/isabelle/$NAME" \
   146         cp -a "$ISABELLE_HOME/Admin/Windows/Cygwin/isabelle/$NAME" \
   147           "contrib/cygwin/isabelle/."
   147           "contrib/cygwin/isabelle/."
   148       done
   148       done
   149 
   149 
   150       find . -type f -not -name '*.exe' -not -name '*.dll' -perm +100 | \
   150       find . -type f -not -name '*.exe' -not -name '*.dll' -perm +100 \
   151         sort > "contrib/cygwin/isabelle/executables"
   151         -print0 > "contrib/cygwin/isabelle/executables"
   152 
   152 
   153       cat >> "contrib/cygwin/isabelle/postinstall" <<EOF
   153       cat >> "contrib/cygwin/isabelle/postinstall" <<EOF
   154 
   154 
   155 find -type d -exec chmod 755 '{}' +
   155 find -type d -exec chmod 755 '{}' +
   156 find -type f \( -name '*.exe' -o -name '*.dll' \) -exec chmod 755 '{}' +
   156 find -type f \( -name '*.exe' -o -name '*.dll' \) -exec chmod 755 '{}' +
   157 find -type f -not -name '*.exe' -not -name '*.dll' -exec chmod 644 '{}' +
   157 find -type f -not -name '*.exe' -not -name '*.dll' -exec chmod 644 '{}' +
   158 xargs < contrib/cygwin/isabelle/executables chmod 755
   158 xargs -0 < contrib/cygwin/isabelle/executables chmod 755
   159 
   159 
   160 EOF
   160 EOF
   161 
   161 
   162     )
   162     )
   163 
   163