Skip to content

Commit 7331cd2

Browse files
authored
Update extract.plugin.bash
1 parent 399b519 commit 7331cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/available/extract.plugin.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ End-Of-Usage
6363
*.xz) xz --decompress "$1" ;;
6464
*.zip|*.war|*.jar|*.nupkg) unzip "$1" -d "$filedirname/$targetdirname" ;;
6565
*.Z) uncompress "$1" ;;
66-
*.7z) 7za x "$1" ;;
66+
*.7z) 7za x -o"$filedirname/$targetdirname" "$1" ;;
6767
*) echo "'$1' cannot be extracted via extract" >&2;;
6868
esac
6969
fi

0 commit comments

Comments
 (0)