File: files-excluded.sh

package info (click to toggle)
rocm-llvm 7.0.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,652 kB
  • sloc: lisp: 30,221; ansic: 11,104; cpp: 10,721; sh: 179; python: 47; makefile: 37
file content (7 lines) | stat: -rwxr-xr-x 258 bytes parent folder | download
1
2
3
4
5
6
7
#!/usr/bin/env bash

# This script lists the files to be excluded except the "amd" directory from upstream source

# Usage: ./debian/files-excluded.sh path/to/upstream/llvm-project
find $1 -mindepth 1 -maxdepth 1 \( ! -name "amd" \) | sed "s|^$1/||" | sort