summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-10-16 14:16:38 +0200
committerDaniel Friesel <derf@finalrewind.org>2010-10-16 14:16:38 +0200
commit5a5287151c5b0aae485c984a6cd3a05b42f8bccb (patch)
treeba5a4362e3bb1b0e985f96b77285900e581b9b4e
parent0bca8c076015c600d0412d7e9fd5470ba9c0e618 (diff)
Remove some superfluous comments
-rwxr-xr-xbin/ct5
1 files changed, 0 insertions, 5 deletions
diff --git a/bin/ct b/bin/ct
index dbfaa60..5d0f148 100755
--- a/bin/ct
+++ b/bin/ct
@@ -47,7 +47,6 @@ function clear_line {
echo -ne "\r\e[2K"
}
-# Read local configuration
: ${XDG_CONFIG_HOME=${HOME}/.config}
if [[ -r ${XDG_CONFIG_HOME}/caretaker/caretaker.conf ]] {
source ${XDG_CONFIG_HOME}/caretaker/caretaker.conf
@@ -55,7 +54,6 @@ if [[ -r ${XDG_CONFIG_HOME}/caretaker/caretaker.conf ]] {
source ${HOME}/.caretaker.conf
}
-# Parse commandline options
while [[ ${1} == --* ]] {
case ${1} in
--auto-update) (( AUTOUPDATE = 1 )) ;;
@@ -982,9 +980,6 @@ function pkg_version {
cd ${PKG_DIR} || die "Cannot cd ${PKG_DIR}"
-# Note:
-# wrap foobar "${1}" <- the "" are neccessary here,
-# since ${1} is optional (and therefore may be empty)
case ${action} in
debug) pkg_debug ${*} ;;
e|eval) eval ${*} ;;