diff options
Diffstat (limited to 'bin/symlinks')
-rwxr-xr-x | bin/symlinks | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/bin/symlinks b/bin/symlinks deleted file mode 100755 index 0a221c4..0000000 --- a/bin/symlinks +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -# -# Setup symlinks. -# - -# Parameters -BASENAME="`basename $0`" -MODULES="$1" - -# Check parameters -if [ -z "$MODULES" ]; then - echo "Usage: $BASENAME <submodules-folder>" - exit 1 -elif [ ! -e "$MODULES" ]; then - echo "Not found: $MODULES" -fi - -# Add module symlinks using absolute folders -for module in `ls $MODULES`; do - if [ "$module" != "bootstrap" ]; then - path="`cd $MODULES/$module && pwd`" - ( cd modules &> /dev/null && ln -sf $path ) - fi -done |