diff options
Diffstat (limited to 'scripts/runqemu-extract-sdk')
-rwxr-xr-x | scripts/runqemu-extract-sdk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/runqemu-extract-sdk b/scripts/runqemu-extract-sdk index 2a0dd50e0e..f4286efb1f 100755 --- a/scripts/runqemu-extract-sdk +++ b/scripts/runqemu-extract-sdk | |||
@@ -76,7 +76,9 @@ fi | |||
76 | pseudo_state_dir="$SDK_ROOTFS_DIR/../$(basename "$SDK_ROOTFS_DIR").pseudo_state" | 76 | pseudo_state_dir="$SDK_ROOTFS_DIR/../$(basename "$SDK_ROOTFS_DIR").pseudo_state" |
77 | pseudo_state_dir="$(readlink -f $pseudo_state_dir)" | 77 | pseudo_state_dir="$(readlink -f $pseudo_state_dir)" |
78 | 78 | ||
79 | if [ -e "$pseudo_state_dir" ]; then | 79 | debug_image="`echo $ROOTFS_TARBALL | grep '\-dbg\.tar\.'`" |
80 | |||
81 | if [ -e "$pseudo_state_dir" -a -z "$debug_image" ]; then | ||
80 | echo "Error: $pseudo_state_dir already exists!" | 82 | echo "Error: $pseudo_state_dir already exists!" |
81 | echo "Please delete the rootfs tree and pseudo directory manually" | 83 | echo "Please delete the rootfs tree and pseudo directory manually" |
82 | echo "if this is really what you want." | 84 | echo "if this is really what you want." |