Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/foundry-huff/scripts/binary_check.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash

if ! [[ "$(npm list -g huffc)" =~ "empty" ]]; then
# huffc was installed via npm, return 0x00
Expand Down
2 changes: 1 addition & 1 deletion lib/foundry-huff/scripts/file_writer.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /bin/bash
#! /usr/bin/env bash

echo "$2" > $1
4 changes: 2 additions & 2 deletions lib/foundry-huff/scripts/rand_bytes.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /bin/bash
#! /usr/bin/env bash

echo -n $(hexdump -n 16 -v -e '"0x" 32/1 "%02x" "\n"' /dev/urandom)
echo -n $(hexdump -n 16 -v -e '"0x" 32/1 "%02x" "\n"' /dev/urandom)
2 changes: 1 addition & 1 deletion lib/foundry-huff/scripts/read_and_append.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /bin/bash
#! /usr/bin/env bash

cat $2 >> $1
2 changes: 1 addition & 1 deletion scripts/binary_check.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash

# Check if npm is installed
if command -v npm &> /dev/null; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/file_writer.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /bin/bash
#! /usr/bin/env bash

echo "$2" > $1
4 changes: 2 additions & 2 deletions scripts/rand_bytes.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /bin/bash
#! /usr/bin/env bash

echo -n $(hexdump -n 16 -v -e '"0x" 32/1 "%02x" "\n"' /dev/urandom)
echo -n $(hexdump -n 16 -v -e '"0x" 32/1 "%02x" "\n"' /dev/urandom)
2 changes: 1 addition & 1 deletion scripts/read_and_append.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /bin/bash
#! /usr/bin/env bash

cat $2 >> $1