The added lines in the version installed by the RCPL cause error: prebuiltck.sh: line 28: too many arguments The script from prebuilt.tgz works without errors. $ diff -c prebuiltck.sh /work/install/wr501/wrlinux-5/setup/prebuiltck.sh *** prebuiltck.sh 2013-11-21 19:55:24.000000000 -0700 --- /work/install/wr501/wrlinux-5/setup/prebuiltck.sh 2013-12-03 03:24:00.000000000 -0700 *************** *** 24,29 **** --- 24,32 ---- [ $? != 0 ] && echo "BAD signature, exit!" && exit 1 + [ ! -d $wrlinuxDir/layers/wr-prebuilts/sstate ] && echo "No prebuilt directory $wrlinuxDir/layers/wr-prebuilts/sstate, exit!" && exit 1 + [ -z $(ls $wrlinuxDir/layers/wr-prebuilts/sstate) ] && echo "Prebuilt directory $wrlinuxDir/layers/wr-prebuilts/sstate is empty, exit!" && exit 1 + cd $wrlinuxDir/layers/wr-prebuilts/sstate/ md5sum -c $md5file 2>/dev/null | grep FAILED