⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 treelink.sh.svn-base

📁 PSP开发环境(Linux) 包含PSPLINK 请自行选择需要安装的库及源代码
💻 SVN-BASE
字号:
#!/bin/sh## treelink.sh - Tree Linking Script## Copyright (C) 2001 Paul Mundt <lethal@chaoticdreams.org>## Modified by M. R. Brown <mrbrown@0xd6.org>## A simple shell script for linking a drop in tree into a stock# kernel tree. Usable for drop in trees such as the linux-mips# and linuxconsole trees.## Released under the terms of the GNU GPL v2#[ "$#" -ne "2" ] && echo "Usage: $0 <drop in tree> <kernel tree>" && exit 1CPWD=`which pwd`ODIR=`$CPWD`cd $1 || exit 1LDIR=`$CPWD`echo -n "Building file list ... "LIST=`find * \( -type d -name CVS -prune \) -o -type f -print`echo -e "done."cd ${ODIR}cd $2 || exit 1# Make this a seperate step so that the user can cancel the operationecho -n "Saving originals ..... "for file in $LIST; do	if [ -e $file  -a  ! -h $file ]; then		DIR=`dirname $file`		ofile=`basename $file`		[ ! -d ${DIR}/.orig ] && mkdir -p ${DIR}/.orig		cp $file ${DIR}/.orig/$ofile	fidoneecho -e "done."echo -n "Linking files ........ "for file in $LIST; do	DIR=`dirname $file`	[ ! -d $DIR ] && mkdir -p $DIR	ln -sf $LDIR/$file $filedoneecho -e "done."

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -