Make install.sh build symlinks to dev scripts.

This commit is contained in:
Laurence Withers 2006-07-25 19:12:21 +01:00
parent 27b371a66c
commit 1ec1da4311
1 changed files with 11 additions and 3 deletions

View File

@ -24,6 +24,7 @@ fi
cd "$(dirname $0)" cd "$(dirname $0)"
TEMPLATE="$(pwd)/skel" TEMPLATE="$(pwd)/skel"
DEVSCRIPTS="$(pwd)/scripts"
@ -60,10 +61,17 @@ print_success "Done: $(pwd)"
# Move the project files to something more sensible # Fixups
mv project.kdevelop ${P}.kdevelop echo "Installing symlinks, fixing up stuff..."
mv project.kdevelop.filelist ${P}.kdevelop.filelist
# Move the project files to something more sensible
do_cmd mv project.kdevelop ${P}.kdevelop || exit 1
do_cmd mv project.kdevelop.filelist ${P}.kdevelop.filelist || exit 1
# Install devscript symlinks
do_cmd ln -s ${DEVSCRIPTS}/* scripts/ || exit 1
print_success "Done"