File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ err() {
22
22
need_ok () {
23
23
if [ $? -ne 0 ]
24
24
then
25
- err $1
25
+ err " $1 "
26
26
fi
27
27
}
28
28
@@ -340,7 +340,7 @@ DEFAULT_BUILD="${CFG_CPUTYPE}-${CFG_OSTYPE}"
340
340
341
341
CFG_SRC_DIR=" $( cd $( dirname $0 ) && pwd) /"
342
342
CFG_BUILD_DIR=" $( pwd) /"
343
- CFG_SELF=${CFG_SRC_DIR} $( basename $0 )
343
+ CFG_SELF=" $0 "
344
344
CFG_CONFIGURE_ARGS=" $@ "
345
345
346
346
OPTIONS=" "
412
412
valopt libdir " ${CFG_PREFIX} /${CFG_LIBDIR_RELATIVE} " " install libraries"
413
413
valopt rustlibdir " rustlib" " subdirectory name for rustc's libraries"
414
414
415
- # Validate Options
416
- step_msg " validating $CFG_SELF args"
417
- validate_opt
418
-
419
415
if [ $HELP -eq 1 ]
420
416
then
421
417
echo
422
418
exit 0
423
419
fi
424
420
421
+ # Validate Options
422
+ step_msg " validating $CFG_SELF args"
423
+ validate_opt
425
424
426
425
step_msg " looking for build programs"
427
426
You can’t perform that action at this time.
0 commit comments