summaryrefslogtreecommitdiff
path: root/control.sh
diff options
context:
space:
mode:
Diffstat (limited to 'control.sh')
-rwxr-xr-xcontrol.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/control.sh b/control.sh
index 5943455..7106187 100755
--- a/control.sh
+++ b/control.sh
@@ -1,8 +1,9 @@
1#!/bin/sh 1#!/bin/sh
2VERSION=${VERSION:-$(TZ=UTC date -Is | tr -d :- | tr T . | sed 's/+.*//')}
2cat - "$@" <<END 3cat - "$@" <<END
3Package: $(basename $(pwd)) 4Package: $(basename $(pwd))
4Source: $(basename $(pwd)) 5Source: $(basename $(pwd))
5Version: $(TZ=UTC date -Is | tr -d :- | tr T . | sed 's/+.*//') 6Version: ${VERSION}
6Architecture: $(dpkg-architecture -q DEB_BUILD_ARCH) 7Architecture: $(dpkg-architecture -q DEB_BUILD_ARCH)
7Origin: local 8Origin: local
8Maintainer: root <root@localhost> 9Maintainer: root <root@localhost>