From 708c82b146b88bf519c4efc787edcbc5cbb0e460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 25 Aug 2010 14:42:55 +0000 Subject: [PATCH] * 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. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38353 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build-gcc2-optional-package-Haiku.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build-gcc2-optional-package-Haiku.sh b/build-gcc2-optional-package-Haiku.sh index 8710c20401..1d0cfb10c9 100755 --- a/build-gcc2-optional-package-Haiku.sh +++ b/build-gcc2-optional-package-Haiku.sh @@ -85,7 +85,7 @@ fi 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,6 +104,10 @@ cd /boot 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 ##########################