summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/poky-extract-sdk5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/poky-extract-sdk b/scripts/poky-extract-sdk
index 977adde1a6..a36d79d31c 100755
--- a/scripts/poky-extract-sdk
+++ b/scripts/poky-extract-sdk
@@ -47,6 +47,11 @@ if [ ! -e "$ROOTFS_TARBALL" ]; then
47 exit 1 47 exit 1
48fi 48fi
49 49
50# Convert SDK_ROOTFS_DIR to a full pathname
51if [[ ${SDK_ROOTFS_DIR:0:1} != "/" ]]; then
52 SDK_ROOTFS_DIR=$(pwd)/$SDK_ROOTFS_DIR
53fi
54
50TAR_OPTS="" 55TAR_OPTS=""
51if [[ "$ROOTFS_TARBALL" =~ tar\.bz2$ ]]; then 56if [[ "$ROOTFS_TARBALL" =~ tar\.bz2$ ]]; then
52 TAR_OPTS="-xjf" 57 TAR_OPTS="-xjf"