summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-01-31 19:11:30 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2011-01-31 19:11:30 +0100
commitc617afdefaa9c916a6ecf0c4e67a9db83b608fbe (patch)
tree72cc7ab9602b9436ddb76d05e9333ea11c25cb53
parent20b49b6879ce11514a6dece18f4fdac35ba32026 (diff)
downloadkde-c617afdefaa9c916a6ecf0c4e67a9db83b608fbe.tar.gz
kde-c617afdefaa9c916a6ecf0c4e67a9db83b608fbe.tar.bz2
kde-c617afdefaa9c916a6ecf0c4e67a9db83b608fbe.zip
[eclasses] Fix comment + quoting
-rw-r--r--eclass/git-ng.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/git-ng.eclass b/eclass/git-ng.eclass
index 5b64edc0ca9..09eeefd9360 100644
--- a/eclass/git-ng.eclass
+++ b/eclass/git-ng.eclass
@@ -136,10 +136,10 @@ git-ng_init_variables() {
git-ng_submodules() {
debug-print-function ${FUNCNAME} "$@"
- [[ "$#" -ne 1 ]] && die "${FUNCNAME}: requires 1 argument"
+ [[ "$#" -ne 1 ]] && die "${FUNCNAME}: requires 1 argument (path)"
debug-print "${FUNCNAME}: working in \"${1}\""
- pushd ${1} &> /dev/null
+ pushd "${1}" &> /dev/null
# for submodules operations we need to be online
if [[ -z ${ESCM_OFFLINE} && -n ${EGIT_HAS_SUBMODULES} ]]; then