summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarkus Heidelberg <markus.heidelberg@web.de>2009-05-03 13:41:56 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-05-03 22:24:36 +0200
commit83674f229ab5dc81c097948e83eeb7e83b694309 (patch)
treea3791b67662862d580a1d7debee00c925ce3a64d /scripts
parent5a3642b43a672b36271575c87c5ba0d522086d79 (diff)
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/add_new_package.wizard4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/add_new_package.wizard b/scripts/add_new_package.wizard
index bbcd7f66b..d4127f422 100755
--- a/scripts/add_new_package.wizard
+++ b/scripts/add_new_package.wizard
@@ -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."
-