projects
/
platform
/
adaptation
/
broadcom
/
libomxil-vc4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed1631c
)
buildme: avoid shell expansion of tr expression
author
Luke Diamand
<luke@diamand.org>
Mon, 26 Sep 2016 21:05:36 +0000
(22:05 +0100)
committer
Luke Diamand
<luke@diamand.org>
Thu, 29 Sep 2016 18:53:38 +0000
(19:53 +0100)
Quote the tr expression to prevent the shell expanding it if
there happens to be a file called [a-z] or [A-Z], for example, a
file called "a".
buildme
patch
|
blob
|
history
diff --git
a/buildme
b/buildme
index 9e9d4d7a30a3ad832978440e919492f1b823225b..d7782761575751f3593cf888a6905979e53e4700 100755
(executable)
--- a/
buildme
+++ b/
buildme
@@
-6,7
+6,7
@@
BUILDTYPE=Debug
shift
fi
-BUILDSUBDIR=`echo $BUILDTYPE | tr
[A-Z] [a-z]
`;
+BUILDSUBDIR=`echo $BUILDTYPE | tr
'[A-Z]' '[a-z]'
`;
if [ "armv6l" = `arch` ] || [ "armv7l" = `arch` ]; then
# Native compile on the Raspberry Pi