diff --git a/installJRMC b/installJRMC index 74a8c03..a21a4fe 100755 --- a/installJRMC +++ b/installJRMC @@ -1653,7 +1653,8 @@ update_self() { local_version=${local_version%-dev} local remote_version - grep -m 1 'SCRIPT_VERSION=' "$SCRIPT_PATH" + cat $tmp + grep -m 1 'SCRIPT_VERSION=' "$tmp" remote_version=$(grep -m 1 'SCRIPT_VERSION=' "$tmp") remote_version=${remote_version#*=} remote_version=${remote_version#\"}