more uuid fix
This commit is contained in:
parent
1389f0027d
commit
872980cb8a
@ -124,8 +124,8 @@ function __uuid {
|
|||||||
|
|
||||||
function rbash_upgrade {
|
function rbash_upgrade {
|
||||||
echo "Updating the .bashrc"
|
echo "Updating the .bashrc"
|
||||||
__uuid TEMP_UUID
|
__uuid TMPID
|
||||||
TMPFILE=/tmp/$TEMP_UUID
|
TMPFILE=/tmp/$TMPID
|
||||||
curl -s "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/rbashrc;hb=HEAD" > $TMPFILE
|
curl -s "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/rbashrc;hb=HEAD" > $TMPFILE
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
@ -157,7 +157,8 @@ function rbash_run {
|
|||||||
echo "Getting: $1"
|
echo "Getting: $1"
|
||||||
__cacheDownload "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/$1;hb=HEAD"
|
__cacheDownload "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/$1;hb=HEAD"
|
||||||
shift
|
shift
|
||||||
TMPFILE=/tmp/$( __uuid )
|
__uuid TMPID
|
||||||
|
TMPFILE=/tmp/$TMPID
|
||||||
__cryptd "$__CFILE" "$TMPFILE"
|
__cryptd "$__CFILE" "$TMPFILE"
|
||||||
|
|
||||||
bash "$TMPFILE" $@
|
bash "$TMPFILE" $@
|
||||||
@ -179,7 +180,8 @@ function __ns {
|
|||||||
echo " $1"
|
echo " $1"
|
||||||
__cacheDownload "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/$FPATH;hb=HEAD"
|
__cacheDownload "http://git.astropenguin.net/?p=utils.git;a=blob_plain;f=bash/bashrc/$FPATH;hb=HEAD"
|
||||||
shift
|
shift
|
||||||
TMPFILE=/tmp/$( __uuid )
|
__uuid TMPID
|
||||||
|
TMPFILE=/tmp/$TMPID
|
||||||
__cryptd "$__CFILE" "$TMPFILE"
|
__cryptd "$__CFILE" "$TMPFILE"
|
||||||
. $TMPFILE
|
. $TMPFILE
|
||||||
rm $TMPFILE
|
rm $TMPFILE
|
||||||
|
Loading…
Reference in New Issue
Block a user