mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-03 11:08:21 +01:00
Use correct syntax for tar to drop directory structure
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1425,7 +1425,7 @@ generate_passwords(){
|
||||
|
||||
generate_repo_tarball() {
|
||||
mkdir /opt/so/repo
|
||||
tar -czf /opt/so/repo/"$SOVERSION".tar.gz ../.
|
||||
tar -czf /opt/so/repo/"$SOVERSION".tar.gz -C "$(pwd)/.." .
|
||||
}
|
||||
|
||||
generate_sensor_vars() {
|
||||
|
||||
Reference in new issue
Block a user