summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu-extract-sdk3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/runqemu-extract-sdk b/scripts/runqemu-extract-sdk
index 4ce906aef0..32ddd485b6 100755
--- a/scripts/runqemu-extract-sdk
+++ b/scripts/runqemu-extract-sdk
@@ -49,7 +49,7 @@ fi
49 49
50# Convert SDK_ROOTFS_DIR to a full pathname 50# Convert SDK_ROOTFS_DIR to a full pathname
51if [[ ${SDK_ROOTFS_DIR:0:1} != "/" ]]; then 51if [[ ${SDK_ROOTFS_DIR:0:1} != "/" ]]; then
52 SDK_ROOTFS_DIR=$(pwd)/$SDK_ROOTFS_DIR 52 SDK_ROOTFS_DIR=$(readlink -f $(pwd)/$SDK_ROOTFS_DIR)
53fi 53fi
54 54
55TAR_OPTS="" 55TAR_OPTS=""
@@ -74,6 +74,7 @@ if [ ! -d "$SDK_ROOTFS_DIR" ]; then
74fi 74fi
75 75
76pseudo_state_dir="$SDK_ROOTFS_DIR/../$(basename "$SDK_ROOTFS_DIR").pseudo_state" 76pseudo_state_dir="$SDK_ROOTFS_DIR/../$(basename "$SDK_ROOTFS_DIR").pseudo_state"
77pseudo_state_dir="$(readlink -f $pseudo_state_dir)"
77 78
78if [ -e "$pseudo_state_dir" ]; then 79if [ -e "$pseudo_state_dir" ]; then
79 echo "Error: $pseudo_state_dir already exists!" 80 echo "Error: $pseudo_state_dir already exists!"