From 479b0e3fd6009a598e96311dd9821355c7f88a66 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 11 Sep 2013 16:58:01 -0400 Subject: fix read-version --- tools/read-version | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/read-version b/tools/read-version index 3df0889b..599f52cd 100755 --- a/tools/read-version +++ b/tools/read-version @@ -25,8 +25,8 @@ if [ ! -e "$CHNG_LOG" ]; then fail "Unable to find 'ChangeLog' file located at '$CHNG_LOG'" fi -VERSION=$(sed -n '/^[0-9]\+[.][0-9]\+[.][0-9]\+:/ \ - {s/://; p; :a;n; ba; }' "$CHNG_LOG") && +VERSION=$(sed -n '/^[0-9]\+[.][0-9]\+[.][0-9]\+:/ {s/://; p; :a;n; ba; }' \ + "$CHNG_LOG") && [ -n "$VERSION" ] || fail "failed to get version from '$CHNG_LOG'" echo "$VERSION" -- cgit v1.2.3 From 266d12c5777d5fba97c374c33cb4f31d50e2d347 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 17 Sep 2013 12:34:25 -0400 Subject: upstart/cloud-init-nonet.conf: fix indentation --- upstart/cloud-init-nonet.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upstart/cloud-init-nonet.conf b/upstart/cloud-init-nonet.conf index a94b1474..e8ebee96 100644 --- a/upstart/cloud-init-nonet.conf +++ b/upstart/cloud-init-nonet.conf @@ -14,7 +14,7 @@ script SLEEP_CHILD="" static_network_up() { - local emitted="/run/network/static-network-up-emitted" + local emitted="/run/network/static-network-up-emitted" # /run/network/static-network-up-emitted is written by # upstart (via /etc/network/if-up.d/upstart). its presense would # indicate that static-network-up has already fired. -- cgit v1.2.3