summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2007-11-26 11:35:03 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2007-11-26 11:35:03 +0000
commit515a013de318f9bd07c0b16c8949a271b48b4723 (patch)
tree24ffcf6be8991ba5711424516a4d765f8c3b9e2a /bin
parent0b537f28eaecdbe6223d07bba54f951c35d8a9a0 (diff)
downloadptxdist-515a013de318f9bd07c0b16c8949a271b48b4723.tar.gz
ptxdist-515a013de318f9bd07c0b16c8949a271b48b4723.tar.xz
* ptxdist:
fixed newpacket git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7627 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ptxdist8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index d7bc13cab..a75c3306a 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -595,7 +595,7 @@ menuconfig_action() {
newpacket () {
local packet_name version url author year suffix overwrite \
- template template_file suffix packet_filename packet_name packet PACKET packetdash filename \
+ template template_file template_suffix packet_filename packet_name packet PACKET packetdash filename \
class CLASS autoconf_class
case $1 in
@@ -682,9 +682,9 @@ newpacket () {
year=`date +%Y`
- for suffix in "make" "in"; do
- template_file="${RULESDIR}/${template}-${suffix}"
- filename="${class}${packet_filename}.${suffix}"
+ for template_suffix in "make" "in"; do
+ template_file="${RULESDIR}/${template}-${template_suffix}"
+ filename="${class}${packet_filename}.${template_suffix}"
if test \! -f "${template_file}"; then
echo