bsh: Re-pro-du-ci-ble
This commit is contained in:
parent
c145803881
commit
1a351ea5cb
|
@ -48,7 +48,7 @@ then
|
||||||
# TODO Do not remove unless last one connected
|
# TODO Do not remove unless last one connected
|
||||||
|
|
||||||
# Crafting command
|
# 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"
|
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
|
# Due to magic, if the last command executed is bash, it disappears from the list of processes
|
||||||
echo "sh ${DEST}/e" >> "${CACHE_DIR}/cmd"
|
echo "sh ${DEST}/e" >> "${CACHE_DIR}/cmd"
|
||||||
|
|
Loading…
Reference in a new issue