more uuid fix
This commit is contained in:
parent
1389f0027d
commit
872980cb8a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user