File: remove-rpath-from-binaries.sh

package info (click to toggle)
libpwiz 3.0.18342-4.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,072 kB
  • sloc: cpp: 157,547; sh: 4,185; makefile: 314
file content (14 lines) | stat: -rwxr-xr-x 181 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

WORK_DIR=$PWD

DEBIAN_DIR=${WORK_DIR}/debian

BIN_DIR=${DEBIAN_DIR}/build/usr/bin

cd ${BIN_DIR}

for file in $(find -type f -executable)
do 
    chrpath -d ${file}
done