Commits

juster committed b9777ea

syncdeps takes repo names as args now.

  • Participants
  • Parent commits cefdc41

Comments (0)

Files changed (1)

File graph/syncdeps

 #!/bin/sh
 
-reposrc core extra community | mkvars | while read repo
+if [ "$#" -eq 0 ]
+then
+	echo "usage: syncdeps [repo names]" 1>&2
+	exit 2
+fi
+
+reposrc $@ | mkvars | while read repo
 do
 	repodeps "$repo" > "$repo.deps"
 	echo "$repo.deps"