diff options
Diffstat (limited to 'meta/recipes-devtools/installer/adt-installer/adt_installer')
-rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/adt_installer | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer index 2d252b72ad..0be5a1d607 100755 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer | |||
@@ -340,7 +340,11 @@ if [ "$INSTALL_FOLDER" = "" ]; then | |||
340 | fi | 340 | fi |
341 | 341 | ||
342 | eval INSTALL_FOLDER=$INSTALL_FOLDER | 342 | eval INSTALL_FOLDER=$INSTALL_FOLDER |
343 | export INSTALL_FOLDER=$(readlink -m $INSTALL_FOLDER) | 343 | if [ -d $INSTALL_FOLDER ]; then |
344 | export INSTALL_FOLDER=$(cd $INSTALL_FOLDER; pwd) | ||
345 | else | ||
346 | export INSTALL_FOLDER=$(readlink -m $INSTALL_FOLDER) | ||
347 | fi | ||
344 | 348 | ||
345 | clear | 349 | clear |
346 | 350 | ||