Author: axeld Date: 2010-08-25 16:42:55 +0200 (Wed, 25 Aug 2010) New Revision: 38353 Changeset: http://dev.haiku-os.org/changeset/38353 Modified: buildtools/trunk/build-gcc2-optional-package-Haiku.sh Log: * Forgot to create the "current" symlink (and add it to the archive - not yet tested). * Use -n for links to directories in case the target already exists. Modified: buildtools/trunk/build-gcc2-optional-package-Haiku.sh =================================================================== --- buildtools/trunk/build-gcc2-optional-package-Haiku.sh 2010-08-25 14:04:39 UTC (rev 38352) +++ buildtools/trunk/build-gcc2-optional-package-Haiku.sh 2010-08-25 14:42:55 UTC (rev 38353) @@ -85,7 +85,7 @@ echo "Install C++ includes and library" rm -rf $base/include/g++ -ln -sf /boot/develop/headers/cpp $base/include/g++ +ln -snf /boot/develop/headers/cpp $base/include/g++ ln -sf /system/lib/libstdc++.r4.so $base/lib/ @@ -104,7 +104,11 @@ rm -f $zip_name zip -yr $zip_name $base +current_name=develop/abi/x86/gcc2/tools/current +ln -snf gcc-2.95.3-haiku-$GCCDATE $current_name +zip -yr $zip_name $current_name + ### optional package description ########################## echo "Package: GCC