PATH is special!

This commit is contained in:
斟酌 鵬兄 2015-03-23 16:02:13 +08:00
parent fdeee997a4
commit 7aa30c9825

View File

@ -153,13 +153,13 @@ export EDITOR=vim
echo "Source:"
function __ns {
if [ -z "$2" ]; then
PATH="sources/$1"
FPATH="sources/$1"
else
PATH=$1
FPATH=$1
fi
echo " $1"
__cacheDownload "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/$PATH;hb=HEAD"
__cacheDownload "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/$FPATH;hb=HEAD"
shift
TMPFILE=/tmp/$( cat /proc/sys/kernel/random/uuid )
__cryptd "$__CFILE" "$TMPFILE"