summaryrefslogtreecommitdiff
path: root/tests/set-empty-rpath.sh
blob: b6408227387deeb1801024712316e27b06481db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh -e
SCRATCH=scratch/$(basename "$0" .sh)

rm -rf "${SCRATCH}"
mkdir -p "${SCRATCH}"

cp simple "${SCRATCH}"/simple

../src/patchelf --force-rpath --set-rpath "" "${SCRATCH}/simple"

"${SCRATCH}"/simple