diff options
Diffstat (limited to 'meta/recipes-devtools/icecc-create-env')
| -rwxr-xr-x | meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env | 10 |
1 files changed, 10 insertions, 0 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 723f1f9bd9..c838256f74 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 | |||
| @@ -122,6 +122,16 @@ then | |||
| 122 | add_file $pluginfile /usr${pluginfile#*usr} | 122 | add_file $pluginfile /usr${pluginfile#*usr} |
| 123 | fi | 123 | fi |
| 124 | 124 | ||
| 125 | # for testing the environment is usable at all | ||
| 126 | if test -x /bin/true; then | ||
| 127 | add_file /bin/true | ||
| 128 | elif test -x /usr/bin/true; then | ||
| 129 | add_file /usr/bin/true /bin/true | ||
| 130 | else | ||
| 131 | echo "'true' not found" | ||
| 132 | exit 1 | ||
| 133 | fi | ||
| 134 | |||
| 125 | tempdir=`mktemp -d /tmp/iceccenvXXXXXX` | 135 | tempdir=`mktemp -d /tmp/iceccenvXXXXXX` |
| 126 | new_target_files= | 136 | new_target_files= |
| 127 | for i in $target_files; do | 137 | for i in $target_files; do |
