summaryrefslogtreecommitdiff
path: root/auto/build
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-03-24 17:52:17 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2011-03-24 17:52:17 +0100
commitd32c1d675aad54b58c0ff545faf3dc8683661c86 (patch)
treec74a785860547964a9715d005e263cc8f9c8deff /auto/build
parent3b70c7e5cbe604f2d7cc1795bf7104d42b1dec53 (diff)
downloadkanotix-d32c1d675aad54b58c0ff545faf3dc8683661c86.zip
kanotix-d32c1d675aad54b58c0ff545faf3dc8683661c86.tar.gz
updated gitignore to ignore all build results
Diffstat (limited to 'auto/build')
-rwxr-xr-xauto/build1
1 files changed, 1 insertions, 0 deletions
diff --git a/auto/build b/auto/build
index 4a3745c..66d51cc 100755
--- a/auto/build
+++ b/auto/build
@@ -8,6 +8,7 @@ LABEL=Kanotix
[ "$LB_ARCHITECTURE" = "amd64" ] && bit=64 && LABEL=${LABEL}64
# Update kanotix-version (32/64-bit and timestamp)
+mkdir -p config/chroot_local-includes/etc
[ ! -f config/chroot_local-includes/etc/kanotix-version ] && echo "Kanotix Hellfire 0000-00:00" > config/chroot_local-includes/etc/kanotix-version
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