scripts/package wizard: delete trailing whitespace and empty lines

In this script and in the .mk output. Let's avoid unnecessary whitespace
issues in new packages created with this wizard.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Markus Heidelberg 2009-05-03 13:41:56 +02:00 committed by Peter Korsgaard
parent 5a3642b43a
commit 83674f229a

View File

@ -53,7 +53,7 @@ PACKAGE_DIR=`dirname $0`/../package/${PACKAGE_NAME}
mkdir ${PACKAGE_DIR}
cat > ${PACKAGE_DIR}/${PACKAGE_NAME}.mk <<EOF
sed -e 's/ *$//g' > ${PACKAGE_DIR}/${PACKAGE_NAME}.mk <<EOF
#############################################################
#
# ${PACKAGE_NAME}
@ -71,7 +71,6 @@ ${NAME_UPPER}_CONF_OPT = ${CONFIG_OPTIONS}
${NAME_UPPER}_DEPENDENCIES = uclibc ${EXTRA_DEPS}
\$(eval \$(call AUTOTARGETS,package,${PACKAGE_NAME}))
EOF
cat > ${PACKAGE_DIR}/Config.in <<EOF
@ -90,4 +89,3 @@ echo
echo "You are now ready to build ${PACKAGE_NAME}"
echo "Just run make menuconfig and select your new"
echo "package, then run make."