From 183efb93c7a524146fb7311683928d92552fce44 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Tue, 18 Jan 2022 22:38:27 +0800 Subject: [PATCH] fix debian package script --- packages/debian/builddeb.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/debian/builddeb.sh b/packages/debian/builddeb.sh index 2a205cc5..a07dd979 100755 --- a/packages/debian/builddeb.sh +++ b/packages/debian/builddeb.sh @@ -3,7 +3,10 @@ make distclean TMP_FOLDER=/tmp/redpandaide -mkdir $TMP_FOLDER +test -n $TMP_FOLDER | rm -rf $TMP_FOLDER +test -z $TMP_FOLDER | mkdir $TMP_FOLDER + + cp -r packages/debian $TMP_FOLDER cp -r astyle $TMP_FOLDER @@ -12,8 +15,7 @@ cp -r RedPandaIDE $TMP_FOLDER cp README.md $TMP_FOLDER cp LICENSE $TMP_FOLDER cp NEWS.md $TMP_FOLDER -cp redpandaide.desktop.in $TMP_FOLDER -cp -r templates $TMP_FOLDER +cp -r linux $TMP_FOLDER cp Red_Panda_CPP.pro $TMP_FOLDER cp -r linux $TMP_FOLDER