Explorar o código

Fix wrong path in example/install.sh and set -eu

Jakub Jirutka %!s(int64=6) %!d(string=hai) anos
pai
achega
f61d954cf0
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      example/install.sh

+ 3 - 2
example/install.sh

@@ -1,7 +1,8 @@
 #!/bin/sh
+set -eu
 
-# Copy some file from the repository root to the rootfs.
-install -D -m 755 example/hello_world.rb /app/hello_world.rb
+# Copy some file from this script's directory to the rootfs.
+install -D -m 755 hello_world.rb /app/hello_world.rb
 
 # Install some dev packages and gem mailcatcher.
 apk add --no-progress -t .make build-base ruby-dev sqlite-dev