0

I want to know the difference between following two commands at (A) and (B).

  1. <default revision="refs/heads/cm-12.0" remote="github" sync-c="true" sync-j="4" />

  2. repo init -u git://github.com/CyanogenMod/android.git -b cm12.0

When I give the first command, after cd ~/FOlder_Name/android/system, I find the cursor is only blinking and nothing happens on the terminal screen. Am I doing right or wrong? I am confused.

1
  • I added quotes; the < and > make it a html tag ;) 1 more thing: 1. is not a command.
    – Rinzwind
    Jul 23, 2015 at 14:36

1 Answer 1

2

Your first "command" is indeed to not command at all, it's a small chunk of the default.xml file, the android manifest.

The second command as explained in the CyanogenMod README will initialize your local repository using the CyanogenMod trees.

Your cursor was blinking because your shell was interpreting the "<" as a redirection directive (and it waits for input), see http://www.tldp.org/LDP/abs/html/io-redirection.html.

3
  • Prasanna: As you're a reputation 11 user: If this answer helped you, don't forget to click the grey at the left of this text, which means Yes, this answer is valid! ;-)
    – Fabby
    Jul 23, 2015 at 23:20
  • @Prasanna: You now have the ability to vote on answers too, just click the (^) mark. Thanks Jul 24, 2015 at 7:08
  • I forgot to upvote too (corrected!) ;-)
    – Fabby
    Jul 24, 2015 at 9:14

Not the answer you're looking for? Browse other questions tagged .