aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-28 17:19:37 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-28 17:19:37 +0000
commite3547320ec6e6ca51286f4766fc18e73e8013f90 (patch)
treec5ba5081984c9359b61e795063f0e52d4548d87d
parent5a914dd8291c79c5545a167e25d2c2992c3d62c9 (diff)
downloadrepoctl-e3547320ec6e6ca51286f4766fc18e73e8013f90.tar
repoctl-e3547320ec6e6ca51286f4766fc18e73e8013f90.tar.gz
repoctl-e3547320ec6e6ca51286f4766fc18e73e8013f90.tar.bz2
repoctl-e3547320ec6e6ca51286f4766fc18e73e8013f90.tar.xz
repoctl-e3547320ec6e6ca51286f4766fc18e73e8013f90.zip
use / instead of : as separator
-rwxr-xr-xrepoctl12
1 files changed, 6 insertions, 6 deletions
diff --git a/repoctl b/repoctl
index ae75543..50e964d 100755
--- a/repoctl
+++ b/repoctl
@@ -20,7 +20,7 @@ Options:
Example :
Move emacs packages from 1/core/updates_testing to 1/core/updates :
- repoctl mvpkg --srcrepo 1:core:updates_testing --dstrepo 1:core:updates \
+ repoctl mvpkg --srcrepo 1/core/updates_testing --dstrepo 1/core/updates \
--srcpkg emacs
EOF
;;
@@ -35,7 +35,7 @@ Options:
Example :
Remove emacs package from 1/core/updates_testing repository :
- repoctl rmpkg --srcrepo 1:core:updates_testing --srcpkg emacs
+ repoctl rmpkg --srcrepo 1/core/updates_testing --srcpkg emacs
EOF
;;
@@ -46,7 +46,7 @@ Usage: repoctl lspkg --srcrepo distribution:section:sectionrepo \\
Example :
List emacs packages from 1/core/updates_testing repository :
- repoctl lspkg --srcrepo 1:core:updates_testing --srcpkg emacs
+ repoctl lspkg --srcrepo 1/core/updates_testing --srcpkg emacs
EOF
;;
esac
@@ -83,10 +83,10 @@ function mvpkg()
nomirror=1
shift;;
--srcrepo)
- IFS=':' read -ra srcrepo <<< "$2"
+ IFS='/' read -ra srcrepo <<< "$2"
shift;shift;;
--dstrepo)
- IFS=':' read -ra dstrepo <<< "$2"
+ IFS='/' read -ra dstrepo <<< "$2"
shift;shift;;
--srcpkg)
srcpkg="$2"
@@ -151,7 +151,7 @@ function lspkg()
exit 0
;;
--srcrepo)
- IFS=':' read -ra srcrepo <<< "$2"
+ IFS='/' read -ra srcrepo <<< "$2"
shift;shift;;
--srcpkg)
srcpkg="$2"