Bas Couwenberg pushed to branch master at Debian GIS Project / ogdi-dfsg


Commits:
32257459 by Bas Couwenberg at 2025-04-17T21:27:01+02:00
Don't make wget & tar commands verbose.

- - - - -


1 changed file:

- debian/tests/ogdi-bin


Changes:

=====================================
debian/tests/ogdi-bin
=====================================
@@ -8,8 +8,10 @@ TEMPDIR="$(mktemp -d)"
 
 cd "${TEMPDIR}" || exit 1
 
-echo -e "\nDownloading dataset: ${DATASET_URL}"
-wget "${DATASET_URL}" -O "${DATASET_FILE}" 2>&1
+CMD=("wget" "-q" "${DATASET_URL}" "-O" "${DATASET_FILE}")
+
+echo "Downloading dataset: ${CMD[@]}"
+${CMD[@]}
 RC=$?
 
 if [ "${RC}" -ne 0 ]; then
@@ -19,8 +21,12 @@ if [ "${RC}" -ne 0 ]; then
     exit "${RC}"
 fi
 
-echo -e "\nUnpacking dataset: ${DATASET_FILE}"
-tar xavf "${DATASET_FILE}" 2>&1
+echo
+
+CMD=("tar" "xaf" "${DATASET_FILE}")
+
+echo "Unpacking dataset: ${CMD[@]}"
+${CMD[@]}
 RC=$?
 
 if [ "${RC}" -ne 0 ]; then
@@ -30,9 +36,11 @@ if [ "${RC}" -ne 0 ]; then
     exit "${RC}"
 fi
 
+echo
+
 CMD=("ogdi_info" "-u" 
"gltp:/vrf/${TEMPDIR}/${DATASET_DIR}/data/vpf/vm2alv2/texash")
 
-echo -e "\nExecuting: ${CMD[@]}"
+echo "Executing: ${CMD[@]}"
 ${CMD[@]}
 RC=$?
 



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/ogdi-dfsg/-/commit/32257459be85c5d47a8d5ec7a5bb6c59fe9632ae

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/ogdi-dfsg/-/commit/32257459be85c5d47a8d5ec7a5bb6c59fe9632ae
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to