All of lore.kernel.org
 help / color / mirror / Atom feed
From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/scripts
Date: Tue, 21 Oct 2008 22:19:05 -0700 (PDT)	[thread overview]
Message-ID: <20081022051905.19EED3C61F@busybox.net> (raw)

Author: jacmet
Date: 2008-10-21 22:19:04 -0700 (Tue, 21 Oct 2008)
New Revision: 23761

Log:
new package wizard: change bash-specific construct

Patch by Markus Heidelberg.

${VAR//-/_} which replaces - with _ aborts with "syntax error" on a
system where /bin/sh points to dash. Use tr therefor as already done in
the line above rather than changing the shebang to bash.

Modified:
   trunk/buildroot/scripts/add_new_package.wizard


Changeset:
Modified: trunk/buildroot/scripts/add_new_package.wizard
===================================================================
--- trunk/buildroot/scripts/add_new_package.wizard	2008-10-21 19:44:57 UTC (rev 23760)
+++ trunk/buildroot/scripts/add_new_package.wizard	2008-10-22 05:19:04 UTC (rev 23761)
@@ -48,8 +48,7 @@
 URL=${DOWNLOAD_LOC%/*}
 TARBALL=${DOWNLOAD_LOC##*/}
 EXTENSION=${TARBALL##*.tar.}
-NAME_UPPER=`echo ${PACKAGE_NAME} | tr [a-z] [A-Z]`
-NAME_UPPER=${NAME_UPPER//-/_}
+NAME_UPPER=`echo ${PACKAGE_NAME} | tr a-z- A-Z_`
 
 mkdir ../package/${PACKAGE_NAME}
 

             reply	other threads:[~2008-10-22  5:19 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-22  5:19 jacmet at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-03 16:24 [Buildroot] svn commit: trunk/buildroot/scripts jacmet at uclibc.org
2009-02-02  7:19 ulf at uclibc.org
2009-02-02  7:18 ulf at uclibc.org
2009-01-25 23:09 ulf at uclibc.org
2009-01-22 23:10 ulf at uclibc.org
2009-01-22 23:05 ulf at uclibc.org
2009-01-16 22:45 ulf at uclibc.org
2009-01-15 23:17 ulf at uclibc.org
2009-01-13 18:43 ulf at uclibc.org
2009-01-12  7:45 ulf at uclibc.org
2009-01-12  7:43 ulf at uclibc.org
2009-01-11 20:37 ulf at uclibc.org
2009-01-10  0:26 ulf at uclibc.org
2009-01-11 13:23 ` Peter Korsgaard
2009-01-03 16:59 ulf at uclibc.org
2009-01-02 15:44 ulf at uclibc.org
2009-01-03  7:04 ` Hamish Moffatt
2009-01-03  8:50   ` Ulf Samuelsson
2008-12-23 17:51 wberrier at uclibc.org
2008-05-01 15:21 ninevoltz at uclibc.org
2008-04-06 10:01 ulf at uclibc.org
2008-04-01  9:53 jacmet at uclibc.org
2008-03-11 13:14 ninevoltz at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081022051905.19EED3C61F@busybox.net \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.