mcrapet / plowshare

Command-line tool and engine for managing sharing websites
GNU General Public License v3.0
850 stars 88 forks source link

core.sh basename_file() function cygwin fix #15

Closed eadmaster closed 9 years ago

eadmaster commented 9 years ago

just replace echo "${1##*/}" with echo "$(basename $1)"

mcrapet commented 9 years ago

basename was used some times ago, but patched because busybox's basename was not behaving correctly. As now plowshare4 does not support busybox anymore, I can reintroduce it.