95883a75f9
Change-Id: I59b119167dfd6e741a35366be091c9bf6c184c72
14 lines
321 B
Bash
Executable File
14 lines
321 B
Bash
Executable File
#!/bin/bash
|
|
charm=$(grep "charm_build_name" osci.yaml | awk '{print $2}')
|
|
echo "renaming ${charm}_*.charm to ${charm}.charm"
|
|
echo -n "pwd: "
|
|
pwd
|
|
ls -al
|
|
echo "Removing bad downloaded charm maybe?"
|
|
if [[ -e "${charm}.charm" ]];
|
|
then
|
|
rm "${charm}.charm"
|
|
fi
|
|
echo "Renaming charm here."
|
|
mv ${charm}_*.charm ${charm}.charm
|