11 lines
254 B
Bash
Executable file
11 lines
254 B
Bash
Executable file
#! /bin/sh
|
|
|
|
version=$(awk '/^#define[ \t]+NETPGP_VERIFY_H_/ { print $3 }' verify.h)
|
|
name=netpgpverify-${version}
|
|
|
|
(cd .. &&
|
|
mv files ${name} &&
|
|
tar --exclude CVS -cvzf $HOME/${name}.tar.gz ${name} &&
|
|
ls -al $HOME/${name}.tar.gz &&
|
|
mv ${name} files)
|
|
|