From 996d6a78ebbf5018b629cc4cfb13fc020e9c8539 Mon Sep 17 00:00:00 2001 From: Ricardo Martins Date: Sun, 14 Dec 2014 21:24:44 +0000 Subject: [PATCH] pktoolchain: added prefix to base folder. --- pktoolchain.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pktoolchain.bash b/pktoolchain.bash index eeff822..1e0fc88 100755 --- a/pktoolchain.bash +++ b/pktoolchain.bash @@ -40,10 +40,13 @@ fi source "$1" +toolchain_prefix="glued-$cfg_glued_version-$cfg_sys_family-toolchain-$cfg_host_canonical-$cfg_target_canonical" + tar \ -v \ -j \ -c \ + --transform="s,^\./,$toolchain_prefix/," \ -C "$cfg_dir_toolchain" \ -f "$cfg_toolchain_tar" \ .