Lines 115-120
Link Here
|
115 |
|
115 |
|
116 |
#[ -z "$ECVS_MODULE" ] && die "$ECLASS: error: ECVS_MODULE not set, cannot continue" |
116 |
#[ -z "$ECVS_MODULE" ] && die "$ECLASS: error: ECVS_MODULE not set, cannot continue" |
117 |
|
117 |
|
|
|
118 |
# @ECLASS-VARIABLE: ECVS_DATE |
119 |
# @DEFAULT_UNSET |
120 |
# @DESCRIPTION: |
121 |
# The Date-String of the checkout |
122 |
# |
123 |
#[ -z "$ECVS_DATE" ] && ECVS_DATE="" |
124 |
|
118 |
# @ECLASS-VARIABLE: ECVS_BRANCH |
125 |
# @ECLASS-VARIABLE: ECVS_BRANCH |
119 |
# @DEFAULT_UNSET |
126 |
# @DEFAULT_UNSET |
120 |
# @DESCRIPTION: |
127 |
# @DESCRIPTION: |
Lines 242-247
Link Here
|
242 |
ECVS_UP_OPTS="$ECVS_UP_OPTS -C" |
249 |
ECVS_UP_OPTS="$ECVS_UP_OPTS -C" |
243 |
fi |
250 |
fi |
244 |
|
251 |
|
|
|
252 |
# Handle ECVS_DATE, which specifies the date to use. |
253 |
# See date command |
254 |
|
255 |
if [ "$ECVS_DATE" != "" ]; then |
256 |
ECVS_CO_OPTS="$ECVS_CO_OPTS -D $ECVS_DATE" |
257 |
ECVS_UP_OPTS="$ECVS_UP_OPTS -D $ECVS_DATE" |
258 |
fi |
245 |
|
259 |
|
246 |
# It would be easiest to always be in "run-as mode", logic-wise, |
260 |
# It would be easiest to always be in "run-as mode", logic-wise, |
247 |
# if sudo didn't ask for a password even when sudo'ing to `whoami`. |
261 |
# if sudo didn't ask for a password even when sudo'ing to `whoami`. |