diff --git a/tools/build/buildshorewall b/tools/build/buildshorewall index 2fd8858fe..f3d3206a9 100755 --- a/tools/build/buildshorewall +++ b/tools/build/buildshorewall @@ -337,7 +337,7 @@ case $VERSION in # Patch Release # PATCHRELEASE=Yes - [ -n "$BUILDCOMMON" ] && SHOREWALLDIR=shorewall-common-${VERSION} || SHOREWALLDIR=shorewall-common-${VERSION%-*} + [ -n "$BUILDCOMMON" ] && SHOREWALLDIR=shorewall-common-${VERSION%-} || SHOREWALLDIR=shorewall-common-${VERSION} SHOREWALLLITEDIR=shorewall-lite-${VERSION%-*} TARBALL=shorewall-common-${VERSION%-*}.tgz LITETARBALL=shorewall-lite-${VERSION%-*}.tgz