summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-31 03:23:31 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-31 03:23:31 -0600
commit4499b46fe67de57e930d94d64e48ffcc0ed1c1c9 (patch)
tree6f3279a7bf1dc2c0fe6c1e47914fa59b4261987a
parent38ebbe80bb2132dc0babd6e1e2ab913ff4bdd36b (diff)
downloadabuild-4499b46fe67de57e930d94d64e48ffcc0ed1c1c9.tar.gz
abuild-4499b46fe67de57e930d94d64e48ffcc0ed1c1c9.tar.bz2
abuild-4499b46fe67de57e930d94d64e48ffcc0ed1c1c9.tar.xz
abuild-4499b46fe67de57e930d94d64e48ffcc0ed1c1c9.zip
newapkbuild: Ensure empty scripts are still valid
-rw-r--r--newapkbuild.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/newapkbuild.in b/newapkbuild.in
index 9c4ffbf..967d38c 100644
--- a/newapkbuild.in
+++ b/newapkbuild.in
@@ -300,7 +300,7 @@ __EOF__
python)
build_python;;
*)
- printf '# Add build instructions here.' >> APKBUILD
+ printf '# Add build instructions here.\n:\n' >> APKBUILD
esac
cat >>APKBUILD<<__EOF__
@@ -321,7 +321,7 @@ __EOF__
python)
check_python;;
*)
- printf '# Add test instructions here.' >> APKBUILD
+ printf '# Add test instructions here.\n:\n' >> APKBUILD
esac
cat >>APKBUILD<<__EOF__
@@ -346,7 +346,7 @@ __EOF__
python)
package_python;;
*)
- printf '# Add packaging instructions here.' >> APKBUILD
+ printf '# Add packaging instructions here.\n:\n' >> APKBUILD
esac
if [ -n "$cpinitd" ]; then