File: targzip

package info (click to toggle)
bergman 1.001%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 12,608 kB
  • sloc: csh: 1,690; lisp: 1,459; sh: 747; ansic: 57; haskell: 36; makefile: 12
file content (8 lines) | stat: -rwxr-xr-x 389 bytes parent folder | download
1
2
3
4
5
6
7
8
#/usr/bin/csh
if ( -f auxil/caseconv ) chmod +x auxil/caseconv
setenv tmpbmvers bergman`cat auxil/version`
if ( -f $tmpbmvers.tar ) mv -f $tmpbmvers.tar $tmpbmvers.tar~
if ( -f $tmpbmvers.tar.gz) mv -f $tmpbmvers.tar.gz $tmpbmvers.tar.gz~
if ( -f logs/tarlog ) mv -f logs/tarlog logs/tarlog~
tar cfvX $tmpbmvers.tar donttar `cat tarthese` >logs/tarlog
gzip -9 $tmpbmvers.tar >>logs/tarlog