patchelf/tests/set-empty-rpath.sh

12 lines
200 B
Bash
Executable File

#! /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