Skip to content

Commit 6a883f5

Browse files
authored
fix: make it work on ubuntu (#63)
* fix: make it work on ubuntu * fix: revert docker uneeded fix * fix: add missing newlines to clean commit changelog
1 parent b79204a commit 6a883f5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

bin/devkit.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,36 +34,36 @@ fi
3434
case $1 in
3535
start)
3636
echo "Attempting to start the service..."
37-
sh $SCRIPT_DIR/start.sh
37+
bash $SCRIPT_DIR/start.sh
3838

3939
# Check if start.sh was successful
4040
if [ $? -eq 0 ]; then
4141
echo "start.sh executed successfully. Running yaci-cli.sh..."
4242
first_arg="$1"
4343
shift
44-
sh $SCRIPT_DIR/yaci-cli.sh "$@"
44+
bash $SCRIPT_DIR/yaci-cli.sh "$@"
4545
else
4646
echo "start.sh failed. Not executing yaci-cli.sh."
4747
fi
4848
;;
4949
stop)
5050
echo "Stopping the service..."
51-
sh $SCRIPT_DIR/stop.sh
51+
bash $SCRIPT_DIR/stop.sh
5252
;;
5353
ssh)
5454
echo "ssh to Devkit container..."
55-
sh $SCRIPT_DIR/ssh.sh
55+
bash $SCRIPT_DIR/ssh.sh
5656
;;
5757
info)
5858
echo "Info of Devkit"
59-
sh $SCRIPT_DIR/info.sh
59+
bash $SCRIPT_DIR/info.sh
6060
;;
6161
cli)
6262
echo "Run cardano-cli in Devkit container..."
6363
# Discard the first argument
6464
first_arg="$1"
6565
shift
66-
sh $SCRIPT_DIR//cardano-cli.sh "$@"
66+
bash $SCRIPT_DIR//cardano-cli.sh "$@"
6767
;;
6868
version)
6969
# Show version information

0 commit comments

Comments
 (0)