File: scotch.install

package info (click to toggle)
scotch 7.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 22,004 kB
  • sloc: ansic: 85,380; makefile: 4,551; fortran: 2,536; yacc: 645; sh: 276; lex: 213
file content (11 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# separate scotch from ptscotch binaries
SCOTCH_BINARIES=$( for b in int/bin/*; do if ! grep -q ptscotch $b; then echo `basename $b`; fi; done )

for file in $SCOTCH_BINARIES; do
  echo int/bin/${file} /usr/bin
  echo int32/bin/${file}-int32 /usr/bin
  echo int64/bin/${file}-int64 /usr/bin
  echo long/bin/${file}-long /usr/bin
done