Use correct syntax for tar to drop directory structure

This commit is contained in:
William Wernert committed 2021-06-01 12:16:56 -04:00
1 parent eac5c604bd
commit 91c8a7c65b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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() {