diff --git a/bash/bashrc/rbashrc b/bash/bashrc/rbashrc index 118b092..6821d13 100644 --- a/bash/bashrc/rbashrc +++ b/bash/bashrc/rbashrc @@ -124,8 +124,8 @@ function __uuid { function rbash_upgrade { echo "Updating the .bashrc" - __uuid TEMP_UUID - TMPFILE=/tmp/$TEMP_UUID + __uuid TMPID + TMPFILE=/tmp/$TMPID curl -s "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/rbashrc;hb=HEAD" > $TMPFILE if [ -z "$1" ]; then @@ -157,7 +157,8 @@ function rbash_run { echo "Getting: $1" __cacheDownload "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/$1;hb=HEAD" shift - TMPFILE=/tmp/$( __uuid ) + __uuid TMPID + TMPFILE=/tmp/$TMPID __cryptd "$__CFILE" "$TMPFILE" bash "$TMPFILE" $@ @@ -179,7 +180,8 @@ function __ns { echo " $1" __cacheDownload "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/$FPATH;hb=HEAD" shift - TMPFILE=/tmp/$( __uuid ) + __uuid TMPID + TMPFILE=/tmp/$TMPID __cryptd "$__CFILE" "$TMPFILE" . $TMPFILE rm $TMPFILE