ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
18 lines
653 B
Bash
Executable File
18 lines
653 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# Uncomment the set -v line for debugging
|
|
# set -v
|
|
|
|
# Test gzip specific compression option
|
|
if $(command -v $ZSTD_SYMLINK_DIR/gzip); then
|
|
$ZSTD_SYMLINK_DIR/gzip --fast file ; $ZSTD_SYMLINK_DIR/gzip -d file.gz
|
|
$ZSTD_SYMLINK_DIR/gzip --best file ; $ZSTD_SYMLINK_DIR/gzip -d file.gz
|
|
|
|
# Test -n / --no-name: do not embed original filename in archive
|
|
$ZSTD_SYMLINK_DIR/gzip -n file ; grep -qv file file.gz ; $ZSTD_SYMLINK_DIR/gzip -d file.gz
|
|
$ZSTD_SYMLINK_DIR/gzip --no-name file ; grep -qv file file.gz ; $ZSTD_SYMLINK_DIR/gzip -d file.gz
|
|
$ZSTD_SYMLINK_DIR/gzip -c --no-name file | grep -qv file
|
|
fi
|