projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27bb6de
)
Fix installplatform now that rpmrc no longer contains macrofiles
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 7 Sep 2007 09:09:11 +0000
(12:09 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 7 Sep 2007 09:09:11 +0000
(12:09 +0300)
installplatform
patch
|
blob
|
history
diff --git
a/installplatform
b/installplatform
index
3198793
..
30f661a
100755
(executable)
--- a/
installplatform
+++ b/
installplatform
@@
-16,10
+16,9
@@
fi
TEMPRC="/tmp/rpmrc.$$"
cat << E_O_F > $TEMPRC
include: $RPMRC
-macrofiles: $MACROS
E_O_F
-RPM="./rpm --rcfile
$TEMPRC
"
+RPM="./rpm --rcfile
=$TEMPRC --macros=$MACROS
"
canonarch_sed='s_i.86_i386_;s_pentium[34]_i386_;s_athlon_i386_;s_sparc[^-]*_sparc_;s_alpha[^-]*_alpha_;s_arm[^-]*_arm_;s_\(powerpc\|ppc\)[^-]*_ppc_'
arch="`$RPM --eval '%{_arch}'|sed -e "$canonarch_sed"`"