#packagenameを取得packagenamekey=$(echo $packagefilename|sed -e "s/-.*//g")packagenamemain=$(echo ${packagefilename%.*})packagenameenv=$(echo ${packagenamemain##*.})packagename=$packagenamekey.$packagenameenv