Last active
September 21, 2017 11:48
-
-
Save Trass3r/1e4f9dacb6fb3738ae7488a05c4a591d to your computer and use it in GitHub Desktop.
[Linux] create portable app package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # copy $1 to folder $2 | |
| ldd $1 | grep -oP '=> \K(/[^(]+)' | xargs cp -vt "$2" "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment