Explorar el Código

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

Jakub Jirutka hace 6 años
padre
commit
f61d954cf0
Se han modificado 1 ficheros con 3 adiciones y 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