diff --git a/files/slackpkg b/files/slackpkg index 9fc7f5d..21096eb 100644 --- a/files/slackpkg +++ b/files/slackpkg @@ -487,7 +487,7 @@ case "$CMD" in echo -e "" ;; file-search) - PATTERN=$(echo $ARG | sed -e 's/\+/\\\+/g' -e 's/\./\\\./g' -e 's/ /\|/g') + PATTERN=$(echo $ARG | sed -e 's/^\///g' -e 's/\+/\\\+/g' -e 's/\./\\\./g' -e 's/ /\|/g') makelist $PATTERN if [ "$LIST" = "" ]; then