33 lines
704 B
Bash
Executable File
33 lines
704 B
Bash
Executable File
#!/bin/bash
|
|
##########################################################
|
|
# Fix Symlinks
|
|
#
|
|
# Usage : Copy this file into the Framework directory,
|
|
# Execute it passing the Framework Name in argument.
|
|
#
|
|
##########################################################
|
|
|
|
if [ -z $1 ] ; then
|
|
echo "Usage : $0 <Framework_Name>"
|
|
exit -1
|
|
else
|
|
echo "Removing current Symlinks files"
|
|
rm Headers
|
|
rm Resources
|
|
rm Modules
|
|
rm $1
|
|
rm Versions/Current
|
|
|
|
echo "Creating new Symlinks"
|
|
cd Versions
|
|
ln -s A Current
|
|
cd ..
|
|
|
|
ln -s ./Versions/Current/Headers Headers
|
|
ln -s ./Versions/Current/Resources Resources
|
|
ln -s ./Versions/Current/Modules Modules
|
|
ln -s ./Versions/Current/$1 $1
|
|
|
|
echo "Job done!"
|
|
fi
|