bsh: Re-pro-du-ci-ble

This commit is contained in:
Geoffrey Frogeye 2023-12-18 21:17:23 +01:00
parent c145803881
commit 1a351ea5cb
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8

View file

@ -48,7 +48,7 @@ then
# TODO Do not remove unless last one connected
# Crafting command
b64="$(cd "$CACHE_DIR"; tar czf - "$FOLDER_NAME" | base64 -w 0)"
b64="$(cd "$CACHE_DIR"; tar czf - --sort=name "$FOLDER_NAME" | base64 -w 0)"
echo "echo $b64|base64 -d|tar xzC /tmp" > "${CACHE_DIR}/cmd"
# Due to magic, if the last command executed is bash, it disappears from the list of processes
echo "sh ${DEST}/e" >> "${CACHE_DIR}/cmd"