0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-02 15:45:56 +00:00
2021-12-20 11:38:22 +02:00

27 lines
628 B
Diff

--- a/config/paricfg.h.SH
+++ b/config/paricfg.h.SH
@@ -58,19 +58,19 @@
echo '#define ASMINLINE' >> $file
fi
-if test -n "$gzip"; then
+if test -n "@TERMUX_PREFIX@/bin/gzip"; then
cat >> $file << EOT
/* Location of GNU gzip program (enables reading of .Z and .gz files). */
#define GNUZCAT
-#define ZCAT "$gzip -dc"
+#define ZCAT "@TERMUX_PREFIX@/bin/gzip -dc"
EOT
-else if test -n "$zcat"; then
+else if test -n "@TERMUX_PREFIX@/bin/zcat"; then
cat >> $file << EOT
/* Location of zcat program (enables reading of .Z files). */
-#define ZCAT "$zcat"
+#define ZCAT "@TERMUX_PREFIX@/bin/zcat"
EOT
fi