#!/bin/sh make distclean TMP_FOLDER=/tmp/redpandaide test -n $TMP_FOLDER | rm -rf $TMP_FOLDER test -z $TMP_FOLDER | mkdir $TMP_FOLDER cp -r packages/debian $TMP_FOLDER cp -r tools $TMP_FOLDER cp -r libs $TMP_FOLDER cp -r RedPandaIDE $TMP_FOLDER cp README.md $TMP_FOLDER cp LICENSE $TMP_FOLDER cp NEWS.md $TMP_FOLDER cp -r platform $TMP_FOLDER cp Red_Panda_CPP.pro $TMP_FOLDER cd $TMP_FOLDER sed -i '/CONFIG += ENABLE_LUA_ADDON/ { s/^#\s*// }' RedPandaIDE/RedPandaIDE.pro dpkg-buildpackage -us -uc