Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
# Copy Shared Library Dependencies Original by [Thomas Lange <code@nerdmind.de>] #
# Modified by [Andrew Haberlandt <andrew.haberlandt@gmail.com>] #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
# #
# This script copies all shared library dependencies from a binary source file #
# to a desired target directory. The directory structure of the libraries will #
# be mapped relative to the target directory. The binary file itself will also #
# be copied to the target directory. #

Keybase proof

I hereby claim:

  • I am ndrewh on github.
  • I am ndrewh (https://keybase.io/ndrewh) on keybase.
  • I have a public key whose fingerprint is DE38 A6C7 7C00 64A2 8151 485D DC2B 69DA D569 3FFE

To claim this, I am signing this object: