⛏️ index : buildtools.git

author Axel Dörfler <axeld@pinc-software.de> 2010-08-25 14:42:55.0 +00:00:00
committer Axel Dörfler <axeld@pinc-software.de> 2010-08-25 14:42:55.0 +00:00:00
commit
708c82b146b88bf519c4efc787edcbc5cbb0e460 [patch]
tree
76365a1052a5b27b019d85dfb9f4b3589e3bbcca
parent
b67ffd4be8b548701091b5660ba4622c73f1ca8d
download
708c82b146b88bf519c4efc787edcbc5cbb0e460.tar.gz

* 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

Diff

 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 8710c20..1d0cfb1 100755
--- a/build-gcc2-optional-package-Haiku.sh
+++ b/build-gcc2-optional-package-Haiku.sh
@@ -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/


@@ -103,6 +103,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 ##########################