Skip to content

Commit

Permalink
Add more debug cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Tostti committed Apr 16, 2024
1 parent 4f87247 commit 42f56cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dev-tools/build-packages/base/generate_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,12 @@ build() {

echo "c"
ls -l
echo "Tar1"

tar -zxf wazuh-dashboard.tar.gz
directory_name=$(tar tf wazuh-dashboard.tar.gz | head -1 | sed 's#/.*##' | sort -u)

echo "Tar2"
directory_name=$(tar -tf wazuh-dashboard.tar.gz | head -1 | sed 's#/.*##' | sort -u)
working_dir="wazuh-dashboard-$version-$revision-linux-x64"
echo $directory_name $working_dir
mv $directory_name $working_dir
Expand Down

0 comments on commit 42f56cf

Please sign in to comment.