This file contains 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 bash | |
# you may try to configure those variables | |
RKT_VERSION=1.20.0 | |
RKT_PACKAGE_SIZE=95333129 | |
ACBUILD_VERSION=0.4.0 | |
ACBUILD_PACKAGE_SIZE=11864872 | |
# DESTDIR is supported | |
## get file size. usage: getsize file.txt |
This file contains 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 bash |
This file contains 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 bash | |
USAGE="Usage: | |
$0 dir1 dir2 dir2 -- command" | |
# show help if requested | |
if [ "x$1" == "x-h" -o "x$1" == "x-?" -o "x$1" == "x--help" ]; then | |
echo "Execute command in each subdirectory of current directory." | |
echo "$USAGE" | |
exit 0 |