diff --git a/misc/cross-compile-upx-with-podman/build-all-inside-container.sh b/misc/cross-compile-upx-with-podman/build-all-inside-container.sh index 51eda618..62628c36 100755 --- a/misc/cross-compile-upx-with-podman/build-all-inside-container.sh +++ b/misc/cross-compile-upx-with-podman/build-all-inside-container.sh @@ -13,7 +13,7 @@ if [[ $UPX_CONTAINER_IMAGE_NAME != upx-cross-compile-* ]]; then fi # go to upx top-level directory -cd $argv0dir/../.. +cd "$argv0dir/../.." || exit 1 pwd [[ -f src/version.h ]] || exit 1 # sanity check diff --git a/src/main.cpp b/src/main.cpp index a9e377ce..ed287d42 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -569,7 +569,7 @@ static int do_option(int optc, const char *arg) { case 525: // --exact opt->exact = true; break; - // compression runtime parameters + // CRP - Compression Runtime Parameters (undocumented and subject to change) case 801: getoptvar(&opt->crp.crp_ucl.c_flags, 0, 3, arg); break; @@ -866,7 +866,7 @@ int main_get_options(int argc, char **argv) { {"filter", 0x31, N, 521}, // --filter= {"no-filter", 0x10, N, 522}, {"small", 0x10, N, 520}, - // compression runtime parameters + // CRP - Compression Runtime Parameters (undocumented and subject to change) {"crp-nrv-cf", 0x31, N, 801}, {"crp-nrv-sl", 0x31, N, 802}, {"crp-nrv-hl", 0x31, N, 803}, diff --git a/src/options.h b/src/options.h index 77d691ea..0f2d08d0 100644 --- a/src/options.h +++ b/src/options.h @@ -96,7 +96,8 @@ struct options_t { enum { SKIP_OVERLAY = 0, COPY_OVERLAY = 1, STRIP_OVERLAY = 2 }; int overlay; - // compression runtime parameters - see struct XXX_compress_config_t + // CRP - Compression Runtime Parameters (undocumented and subject to change) + // see struct XXX_compress_config_t struct crp_t { lzma_compress_config_t crp_lzma; ucl_compress_config_t crp_ucl;