mirror of
https://github.com/ea4k/klog.git
synced 2024-09-21 10:28:06 +00:00
Update jenkins-klog-package-sources.sh
This commit is contained in:
parent
c64ad6c09c
commit
0813864274
@ -32,13 +32,13 @@ export CXXFLAGS=-std=c++11
|
||||
rm src/README.md
|
||||
|
||||
NEW_NAME=klog-$KLOG_VERSION
|
||||
mv src $NEW_NAME
|
||||
mv src "$NEW_NAME"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "There was an error when copying the KLog folder"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
tar cvzf $NEW_NAME.tar.gz $NEW_NAME
|
||||
tar cvzf "$NEW_NAME".tar.gz "$NEW_NAME"
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "You can find the tar.gz file in this folder... enjoy KLog!"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user