mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-14 22:00:44 +02:00
guix: Remove dest if OUTDIR mv fails
This commit is contained in:
parent
8600934018
commit
d7dec89091
@ -448,4 +448,6 @@ mkdir -p "$DISTSRC"
|
|||||||
esac
|
esac
|
||||||
) # $DISTSRC
|
) # $DISTSRC
|
||||||
|
|
||||||
mv --no-target-directory "$OUTDIR" "$ACTUAL_OUTDIR"
|
rm -rf "$ACTUAL_OUTDIR"
|
||||||
|
mv --no-target-directory "$OUTDIR" "$ACTUAL_OUTDIR" \
|
||||||
|
|| ( rm -rf "$ACTUAL_OUTDIR" && exit 1 )
|
||||||
|
@ -100,4 +100,6 @@ mkdir -p "$DISTSRC"
|
|||||||
esac
|
esac
|
||||||
) # $DISTSRC
|
) # $DISTSRC
|
||||||
|
|
||||||
mv --no-target-directory "$OUTDIR" "$ACTUAL_OUTDIR"
|
rm -rf "$ACTUAL_OUTDIR"
|
||||||
|
mv --no-target-directory "$OUTDIR" "$ACTUAL_OUTDIR" \
|
||||||
|
|| ( rm -rf "$ACTUAL_OUTDIR" && exit 1 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user