Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
#!/bin/bash VER=1.0.2 LDCOPYTMP=/tmp/ldcopy.tmp function help () { cat < [--follow] [--test] /path/to/program Note: By default, ldcopy tries to preserve symbolic links (ie: copies a symbolic link as symbolic link) and then if broken links were found in destination directories, copies only the broken ones as realities. \`--follow' option forces ldcopy to \`cp' files as realities right from the start. With \`--test' option, script will do nothing but printing what to be done and check of broken links. EOF exit 0 } function err () { case $1 in nodir) echo ERROR: target directory $CHROOTDIR does not exist, exitting..;; noexe) echo ERROR: no such executable \`$PROG\';; nodyna) echo ERROR: \`$PROG\' is not a dynamic executable;; esac exit 1 } function uniqdirs () { awk -v d=$CHROOTDIR 'BEGIN{ for (i=1; i