Skip to content

Commit 664d976

Browse files
committed
change cmd
1 parent a24cc71 commit 664d976

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

hermetic_build/library_generation/generate_library.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,8 @@ fi
114114
if [ -z "${os_architecture}" ]; then
115115
os_architecture=$(detect_os_architecture)
116116
fi
117-
random_suffix=$(LC_ALL=C tr -dc 'a-zA-Z' < /dev/urandom | fold -w 20 | head -n 1)
118-
echo "1"
117+
random_suffix=$(LC_ALL=C tr -dc 'a-zA-Z' < /dev/urandom | fold -w 20 | awk 'NR==1 {print; exit}')
119118
temp_destination_path="${output_folder}/temp_preprocessed/${random_suffix}"
120-
echo "2"
121119
mkdir -p "${output_folder}/${destination_path}"
122120
if [ -d "${temp_destination_path}" ]; then
123121
# we don't want the preprocessed sources of a previous run

0 commit comments

Comments
 (0)