summaryrefslogtreecommitdiff
path: root/auto/build
blob: e55b879752eab3603466c36b64774e0ee29a9acd (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

. config/bootstrap
bit=32
[ "$LH_ARCHITECTURE" = "amd64" ] && bit=64

# Update kanotix-version (32/64-bit and timestamp)
perl -pi -e "s%(Kanotix|Excalibur|Hellfire)(32|64)%\${1}$bit%i; s%(32|64)(bit)%$bit\${2}%i; s|[0-9]+-[0-9]+:[0-9]+|$(date +%Y%m%d-%H:%M)|" config/chroot_local-includes/etc/kanotix-version

lh build noauto ${@} 2>&1 | tee binary.log