diff options
Diffstat (limited to 'meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env')
-rwxr-xr-x | meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env b/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env index 0791bd54b2..426b093d91 100755 --- a/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env +++ b/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env @@ -256,7 +256,11 @@ if test -z "$silent"; then fi cd $tempdir -tar -czhf "$mydir/$archive_name" $target_files || { +# Add everything in the temp directory. Tar doesn't like to be given files with +# ".." in them, which frequently happens in $target_files, and will strip off +# the path prefix past the offending "..". This makes the archive generate +# incorrectly +tar -czf "$mydir/$archive_name" . || { if test -z "$silent"; then echo "Couldn't create archive" fi |