diff --git a/common/hooks/pre-pkg/05-rename-python3-c-bindings.sh b/common/hooks/pre-pkg/05-rename-python3-c-bindings.sh index f3a90146b2..c16b69d013 100644 --- a/common/hooks/pre-pkg/05-rename-python3-c-bindings.sh +++ b/common/hooks/pre-pkg/05-rename-python3-c-bindings.sh @@ -11,6 +11,6 @@ hook() { filename="${file##*/}" modulename="${filename%%.*}" msg_warn "${pkgver}: renamed '${filename}' to '${modulename}.so'.\n" - mv ${file} ${file%/*}${modulename}.so + mv ${file} ${file%/*}/${modulename}.so done }