On 12/12/2013 01:25 PM, Robert Nelson wrote:

How about this. ;)

https://github.com/RobertCNelson/netinstall/commit/0ff008b13a6f819755416375004fd5d4962613d3

Regards,

Oops:


dlambert@development ~/netinstall $ sudo ./mk_mmc.sh --mmc /dev/sdc --dtb am335x-boneblack --firmware --no-swap --serial-mode
./mk_mmc.sh: line 922: syntax error near unexpected token `else'


I am no shell guru, but maybe there should be a 'then' for the 'else'?

--- a/mk_mmc.sh
+++ b/mk_mmc.sh
@@ -910,7 +910,7 @@ finish_installing_device () {

 setup_parition_recipe () {
        #This (so far) has been leaving the first Partition Alone...
-       if [ "x${no_swap}" = "xenabled" ] ;
+       if [ "x${no_swap}" = "xenabled" ] ; then
        cat > ${TEMPDIR}/initrd-tree/partition_recipe <<-__EOF__
                        500 1000 -1 ext4
                                method{ format } format{ }

--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to