X-Git-Url: https://git.llucax.com/mecon/scripts.git/blobdiff_plain/869fe4f3f46dd6307821ef2bc17d8cc4204270e9..6434bbcca8a2c04d22a44f2399eb0f1584f6c343:/novedades/copia?ds=sidebyside 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