Skip to content

Commit 5429db5

Browse files
authored
build: add "$" to the TEMP_FILE variable in entrypoint.sh (#11626)
Add "$" to the "TEMP_NAME" var
1 parent d38c91b commit 5429db5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

containers/python-bootstrap-container/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ set -e
1717
function save_to_temp_then_file() {
1818
TEMP_FILE="$(echo mktemp)"
1919
# Redirect output to temporary file TEMP_FILE
20-
cat > TEMP_FILE
20+
cat > $TEMP_FILE
2121
# Replace the original file
22-
mv -f TEMP_FILE "${1}"
22+
mv -f $TEMP_FILE "${1}"
2323
}
2424

2525

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy