simplify shell header
authorWolfram Schneider <wosch@indexdata.dk>
Tue, 11 Aug 2015 13:16:06 +0000 (13:16 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Tue, 11 Aug 2015 13:16:06 +0000 (13:16 +0000)
id-release

index d0aa273..02d1d80 100755 (executable)
@@ -22,10 +22,15 @@ case $1 in
        * ) usage ;;
 esac
 
-echo "#!/bin/sh"
-echo "# See also https://twiki.indexdata.com/twiki/bin/view/ID/AdamsReleaseProcedure"
-echo "set -e"
-echo ""
+cat <<EOF
+#!/bin/sh
+#
+# See also https://twiki.indexdata.com/twiki/bin/view/ID/AdamsReleaseProcedure
+#
+
+set -e
+
+EOF
 
 echo "# Did you updated the news log file?"
 for file in Changes News NEWS