Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions scripts/copy_rootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ if [[ -z $TIZEN_SDK ]]; then
fi
fi

if [ "$version" = "8.0" ] || [ "$version" = "9.0" ]; then
rootstrap=$TIZEN_SDK/platforms/tizen-$version/tizen/rootstraps/tizen-$version-device.core
else
if [ "$version" = "6.0" ] || [ "$version" = "6.5" ] || [ "$version" = "7.0" ]; then
rootstrap=$TIZEN_SDK/platforms/tizen-$version/iot-headed/rootstraps/iot-headed-$version-device.core
else
rootstrap=$TIZEN_SDK/platforms/tizen-$version/tizen/rootstraps/tizen-$version-device.core
fi
if [ ! -d $rootstrap ]; then
if [ "$version" = "8.0" ] || [ "$version" = "9.0" ]; then
echo "Rootstrap not installed: Tizen-$version-NativeAppDevelopment-CLI"
else
if [ "$version" = "6.0" ] || [ "$version" = "6.5" ] || [ "$version" = "7.0" ]; then
echo "Rootstrap not installed: IOT-Headed-$version-NativeAppDevelopment-CLI"
else
echo "Rootstrap not installed: Tizen-$version-NativeAppDevelopment-CLI"
fi
exit 1
fi
Expand Down