File: multi_distfile1.ref

package info (click to toggle)
latex-mk 2.1-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 2,988 kB
  • ctags: 243
  • sloc: sh: 4,252; makefile: 165
file content (10 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
tar cf - test1.tex  xtra1.tex     ../testfile.mk   | gzip > test1.tar.gz
echo "******* Distfile left in test1.tar.gz *******"
tar cf - test2.tex  xtra2.tex     ../testfile.mk   | gzip > test2.tar.gz
echo "******* Distfile left in test2.tar.gz *******"
rm -fr test1_test2
mkdir test1_test2
for f in test1.tar.gz test2.tar.gz ; do  gzcat $f | (cd test1_test2 && tar xpf -) ;  done
tar cf - test1_test2 | gzip > test1_test2.tar.gz
rm -fr test1_test2
echo "******* Distfile left in test1_test2.tar.gz *******"