--- scripts/cmd_create.in.orig 2015-07-15 17:45:24 UTC +++ scripts/cmd_create.in @@ -69,7 +69,7 @@ else fi PORTBASE=$(basename ${ARG_PORTNAME}) -PORTPREFIX=$(echo ${PORTBASE} | cut -d- -f1) +PORTPREFIX=$(echo ${PORTBASE} | cut -s -d- -f1) # Work around the fact that R modules are # prefixed with R-cran