X-Git-Url: https://git.llucax.com/mecon/scripts.git/blobdiff_plain/869fe4f3f46dd6307821ef2bc17d8cc4204270e9..4da15999131161e3ea4a1fe0be86bb88bd2adfae:/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