X-Git-Url: https://git.llucax.com/mecon/scripts.git/blobdiff_plain/869fe4f3f46dd6307821ef2bc17d8cc4204270e9..67fc5623b144bb77672592aec7833f31b2a29889:/novedades/copia?ds=inline diff --git a/novedades/copia b/novedades/copia index e288802..2cf221b 100755 --- a/novedades/copia +++ b/novedades/copia @@ -12,8 +12,8 @@ destino="$2" libdir="$3" # Script. -nombre_orig=`basename "$0" | awk -F\\. '{ print $1 }'` -nombre_nuevo=`basename "$0" | awk -F\\. '{ print $2 }'` +nombre_orig=`basename "$0" | awk -F- '{ print $1 }'` +nombre_nuevo=`basename "$0" | awk -F- '{ print $2 }'` if [ -z "$nombre_orig" ]; then nombre_nuevo=`basename "$0"` fi