mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-24 07:03:05 +02: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