designate/contrib/devstack/install.sh
Kiall Mac Innes 86554c4aee Ensure contrib/devstack/install.sh works from any path
Change-Id: I56af596488a2774e8426853550823d88759904e0
2014-07-01 16:26:28 +01:00

15 lines
274 B
Bash
Executable File

#!/bin/bash
DIR=$(readlink -e $(dirname $(readlink -f $0)))
pushd $DIR
for f in lib/* extras.d/* exercises/*; do
if [ ! -e "$DIR/../../../devstack/$f" ]; then
echo "Installing symlink for $f"
ln -fs $DIR/$f $DIR/../../../devstack/$f
fi
done
popd