LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Chapter 5.7 Adjusting Toolchains... Find error (http://www.linuxquestions.org/questions/linux-from-scratch-13/chapter-5-7-adjusting-toolchains-find-error-630221/)

speedbird889 03-24-2008 09:32 AM

Chapter 5.7 Adjusting Toolchains... Find error
 
Hi all,

I am at chapter 5.7

I am typing the following command:

Code:

GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include &&
find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rvf '{}' \; &&
rm -vf `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` &&
unset GCC_INCLUDEDIR

I get the following error:

Quote:

find: paths must precede expression
I am not able to solve this problem.

Any help will be appreciated.


Thanks.

Kurt

speedbird889 03-24-2008 08:40 PM

I have found and corrected the error.

Thank you.

billymayday 03-24-2008 08:46 PM

It's probably worth you posting the fix just in case someone else looks up your post

speedbird889 03-26-2008 09:44 PM

Sorry about that.

My problem was a typo. I did not include the && in the command.

Thanks.

Kurt


All times are GMT -5. The time now is 07:00 PM.