diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-02-01 20:28:31 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-02-01 20:28:31 +0200 |
commit | db3f67ed5b53452a749427a16254a2d231522063 (patch) | |
tree | c586b3f4b2f78c2a6bc45d6a05df854a258d4cbd /installplatform | |
parent | 7ffa128552d62cab163b534d1c7a8408b2baf6c2 (diff) | |
download | librpm-tizen-db3f67ed5b53452a749427a16254a2d231522063.tar.gz librpm-tizen-db3f67ed5b53452a749427a16254a2d231522063.tar.bz2 librpm-tizen-db3f67ed5b53452a749427a16254a2d231522063.zip |
Fix platform dir creation, doh
Diffstat (limited to 'installplatform')
-rwxr-xr-x | installplatform | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/installplatform b/installplatform index 5e9bd7382..dd3c6f9ce 100755 --- a/installplatform +++ b/installplatform @@ -48,7 +48,7 @@ for SUBST in $SUBSTS ; do PPD="${DESTDIR}/${platformdir}/${ARCH}-${OS}" - [ -d $PPD ] || mkdir $PPD + [ -d $PPD ] || mkdir -p $PPD RPMRC_OPTFLAGS="`sed -n 's/^optflags: '$ARCH' //p' $RPMRC`" RPMRC_OPTFLAGS="`echo $RPMRC_OPTFLAGS | sed -e 's, ,\ ,g'`" @@ -105,7 +105,6 @@ for SUBST in $SUBSTS ; do CANONARCH="`echo $ARCH|sed -e "$canonarch_sed"`" - mkdir -p "${DESTDIR}/${platformdir}" cat $PLATFORM \ | sed -e "s,@RPMRC_OPTFLAGS@,$RPMRC_OPTFLAGS," \ -e "s,$arch,$CANONARCH," \ |