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
| #!/usr/bin/env zsh | |
| # | |
| # Bootstrap program for the system. | |
| # | |
| # Enable the default zsh options | |
| emulate zsh | |
| setopt errexit # exit the script if any statement returns a non-true valu | |
| setopt pipefail # unveil hidden pipeline command errors |
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
| #!/bin/bash | |
| progname="${0##*/}" | |
| progname="${progname%.sh}" | |
| # usage: check_elf_alignment.sh [path to *.so files|path to *.apk] | |
| cleanup_trap() { | |
| if [ -n "${tmp}" ] && [ -d "${tmp}" ]; then | |
| rm -rf "${tmp}" | |
| fi |
OlderNewer