6 tdir
=/tmp
/beanstalk-pkg.$$.d
17 git-archive
--format=tar --prefix="$pfx/" "v$vers" > $tdir/p.
tar
19 # Replace version.h with the actual release version.
22 tar --delete -f p.
tar "$pfx/version.h" || true
24 cat > "$pfx/version.h" <<END
25 /* version.h - beanstalkd version header */
26 /* This file was generated by pkg.sh */
27 #define VERSION "$vers"
29 tar rf p.
tar "$pfx/version.h"
32 gzip -9 < $tdir/p.
tar > "$file"