[TrivialFix] Remove extra slash
Change-Id: Ic45f618204875684f52133ec0f69fe7512ec9e2c
This commit is contained in:
parent
008ada9062
commit
cccf4f7771
@ -73,7 +73,7 @@ if [[ "$kafka_datadir_volume" != "kafka" && -d "$kafka_datadir_volume" ]]; then
|
|||||||
rm -rfv $kafka_datadir_volume
|
rm -rfv $kafka_datadir_volume
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FOLDER_PATH="/etc/kolla/"
|
FOLDER_PATH="/etc/kolla"
|
||||||
|
|
||||||
if [[ -e "$FOLDER_PATH/ovsdpdk-db/ovs-dpdkctl.sh" ]]; then
|
if [[ -e "$FOLDER_PATH/ovsdpdk-db/ovs-dpdkctl.sh" ]]; then
|
||||||
echo uninstalling ovs-dpdk service files and tools.
|
echo uninstalling ovs-dpdk service files and tools.
|
||||||
@ -81,12 +81,12 @@ if [[ -e "$FOLDER_PATH/ovsdpdk-db/ovs-dpdkctl.sh" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Getting folders name..."
|
echo "Getting folders name..."
|
||||||
for dir in $FOLDER_PATH*; do
|
for dir in $FOLDER_PATH/*; do
|
||||||
if [ "$dir" == "$FOLDER_PATH""passwords.yml" ] || \
|
if [ "$dir" == "$FOLDER_PATH/passwords.yml" ] || \
|
||||||
[ "$dir" == "$FOLDER_PATH""globals.yml" ] || \
|
[ "$dir" == "$FOLDER_PATH/globals.yml" ] || \
|
||||||
[ "$dir" == "$FOLDER_PATH""kolla-build.conf" ] || \
|
[ "$dir" == "$FOLDER_PATH/kolla-build.conf" ] || \
|
||||||
[ "$dir" == "$FOLDER_PATH""config" ] || \
|
[ "$dir" == "$FOLDER_PATH/config" ] || \
|
||||||
[ "$dir" == "$FOLDER_PATH""certificates" ]; then
|
[ "$dir" == "$FOLDER_PATH/certificates" ]; then
|
||||||
echo "Skipping:" $dir
|
echo "Skipping:" $dir
|
||||||
else
|
else
|
||||||
rm -rfv $dir
|
rm -rfv $dir
|
||||||
|
Loading…
Reference in New Issue
Block a user