diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/release-common.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/release-common.sh b/scripts/release-common.sh index 7bc89e6..62f8ed8 100755 --- a/scripts/release-common.sh +++ b/scripts/release-common.sh @@ -194,7 +194,8 @@ if [ -n $LIBRARYDIR ]; then echo $LIBRARYDIR mkdir -p $LIBRARYDIR # exclude the .git stuff from MCAD which is a git submodule. - # tar is a relatively portable way to do exclusion + # tar is a relatively portable way to do exclusion, without the + # risks of rm rm -f libraries.tar tar cf libraries.tar --exclude=.git* libraries cd $LIBRARYDIR/.. && tar xf $OPENSCADDIR/libraries.tar && cd $OPENSCADDIR |