This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Tiny crosstool.sh grip


Yves Rutschle wrote:
crosstools.sh pretty much assumes you have all your
components under the current working directory, yet it lets
you think you can have $LINUX_DIR anywhere you want. I was
rewarded with a bunch of new directories in unexpected
places :-)

Fixing is trivial:

--- crosstool.sh.old Fri Oct 3 12:16:06 2003
+++ crosstool.sh Wed Oct 15 10:52:06 2003
@@ -105,7 +105,7 @@
cp -r include/asm-${ARCH} ${PREFIX}/${TARGET}/include/asm
cp -r include/asm-generic ${PREFIX}/${TARGET}/include/asm-generic
-cd ..
+cd -

I'll probably fix that in a more portable way with next release (I don't think the posix shell spec supports cd -). Thanks for the nudge. - Dan

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]