Changeset bbe41f83 in freewrt for scripts/scan-tools.sh
- Timestamp:
- Jul 2, 2007, 8:17:28 PM (18 years ago)
- Children:
- 50922a6
- Parents:
- 727dae0d
- File:
-
- 1 edited
-
scripts/scan-tools.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
scripts/scan-tools.sh
r727dae0d rbbe41f83 439 439 440 440 if grep USE_TOOLS_MKSH=1 $topdir/lbin/prereq.mk >/dev/null 2>&1; then 441 echo "MBSH:=$topdir/lbin/mksh" >>$topdir/lbin/prereq.mk 441 echo "MBSH:=$topdir/lbin/mkshw" >>$topdir/lbin/prereq.mk 442 rm -f $topdir/lbin/mkshw 443 cat >$topdir/lbin/mkshw <<-EOF 444 #!/bin/sh 445 if [[ -x $topdir/lbin/mksh ]]; then 446 exec $topdir/lbin/mkshw "\$@" 447 else 448 exec bash "\$@" 449 fi 450 EOF 451 chmod +x $topdir/lbin/mkshw 442 452 elif which mksh >/dev/null 2>&1; then 443 453 echo "MBSH:=$(which mksh)" >>$topdir/lbin/prereq.mk
Note:
See TracChangeset
for help on using the changeset viewer.
