WTF - Build Scripts. Recursive? Force?

17. June 2011 18:00


Sometimes devlopers just don't get it right! Here is a great example on an open source project where they have managed to get a script really really wrong.


The original problem is here and the problem is a simple typo in the install / upgrade scripts for the package. Where a space has been inserted into command line which seperated the single argument into the command line into two parts.


The command was really meant to be


rm -rf /usr/lib/nvidia-current/xorg/xorg

But was accidently

rm -rf /usr /lib/nvidia-current/xorg/xorg

For the non linux / unix people out there this is the same as removing the "Program Files" folder from the machine when the package was installed.



E-mail Kick it! DZone it! Permalink