On 01/25/2013 02:38 AM, Jason Wessel wrote: > executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm +111) > -$SUDO_EXEC ${env_setup_script%/*}/relocate_sdk.py $target_sdk_dir $dl_path > $executable_files > -if [ $? -ne 0 ]; then > - echo "SDK could not be set up. Relocate script failed. Abort!" > - exit 1
> +echo "#!/bin/bash" > ${env_setup_script%/*}/relocate_sdk.sh > +echo exec $SUDO_EXEC ${env_setup_script%/*}/relocate_sdk.py $target_sdk_dir > $dl_path $executable_files >> ${env_setup_script%/*}/relocate_sdk.sh > +chmod 755 ${env_setup_script%/*}/relocate_sdk.sh The last 3 lines will certainly fail if installation takes place in a location you don't have rights... So, you'll end up with no relocate_sdk.sh script. Thanks, Laurentiu > +if [ $relocate = 1 ] ; then > + ${env_setup_script%/*}/relocate_sdk.sh > + if [ $? -ne 0 ]; then > + echo "SDK could not be set up. Relocate script failed. Abort!" > + exit 1 > + fi > fi _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core