소스 검색

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

Jakub Jirutka 6 년 전
부모
커밋
f61d954cf0
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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