Hi Heena,

i grabbed a copy of your script.

i notice the same error you got when i source it, if i download it directly by 
wget/curl
e.g. curl http://pastebin.com/raw.php?i=YtuMcrX6 -o kderc.sh

to make "syntax error near unexpected token `$'{\r''     " error get away,  i 
did a dos2unix on the file to convert windows newline to unix newline

then i got the unexpected end of line as described by Roney.
you can fix it as per instruction by Roney in another email reply, or by adding 
a semi colon after the git command.
e.g. 
function gd() { git diff -w "$@"; }
function gc() { git commit -am "$@"; }

--
Nelson

On 17/06/2013, at 1:09 AM, Heena Mahour <[email protected]> wrote:

> Hi,
> I am getting these errors
>  heena@heena-Aspire-5750:~/kde$ source bashrc.php                             
>                                                                               
>                                     
> : command not found                                                           
>                                                                               
>                                     
> bash: bashrc.php: line 66: syntax error near unexpected token `$'{\r''        
>                                                                               
>                                     
> 'ash: bashrc.php: line 66: `function cmakekde {
> http://pastebin.com/raw.php?i=YtuMcrX6 This is my bashrc script saved in 
> home/heena/kde .
> Please suggest something
> Regards
> 
> 
> 
> On Sun, Jun 16, 2013 at 1:10 PM, Nelson Chan <[email protected]> wrote:
> The make install commands will overwrite your system libraries with your 
> build, this could break your kubuntu installation.
> 
> As your system is already ruined by make install, it is probably easier just 
> do a reinstall in order to fix it
> 
> On 16/06/2013 5:00 PM, "Heena Mahour" <[email protected]> wrote:
>  Hi, I recently installed kubuntu 13.04 ,it works fine some hours ago when I 
> build kdelibs,kde-runtime,kactivities,kde-wrkspace .Now it is displaying 
> error data directory for applet not found .
> Later even the application launcher disappeared . 
> I build like the following:
> git clone kde:kdelibs
> mkdir build;cd build
> cmake ..
> make
> make install
> ..What should be done now Please help 
> 
> -- 
> -Heena
> Season of kde'12 participant
> Delhi College of Engineering(COE),India
> http://about.me/heena.mahour
> http://heenamahour.blogspot.in
> 
> 
> 
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe 
> >> <<
> 
> 
> 
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe 
> >> <<
> 
> 
> 
> 
> -- 
> -Heena
> Season of kde'12 participant
> Delhi College of Engineering(COE),India
> http://about.me/heena.mahour
> http://heenamahour.blogspot.in
> 
> 
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to