mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-24 14:09:20 +00:00
fc054f6f41
Omit the timestamp and the file name from the file header to make the file deterministic. Refresh the urls test file.
11 lines
339 B
Bash
Executable File
11 lines
339 B
Bash
Executable File
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
cd "${SCRIPT_DIR}"
|
|
|
|
set -x
|
|
|
|
python "generate_urls.py" &&
|
|
([[ -f "urls.csv.gz" ]] && rm --verbose "urls.csv.gz" || exit 0) &&
|
|
gzip --verbose --best --no-name "urls.csv" &&
|
|
gzip --verbose --test "urls.csv.gz" &&
|
|
mv --verbose "urls.csv.gz" "PHPCurlClass/urls.csv.gz"
|