X-Git-Url: https://git.llucax.com/mecon/scripts.git/blobdiff_plain/869fe4f3f46dd6307821ef2bc17d8cc4204270e9..71f91a8c25b97f2bb90de4ce9c7c0b79f26c22ff:/novedades/copia 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