diff --git a/support/update-rundk.sh b/support/update-rundk.sh index cfda3b9..872a6a7 100755 --- a/support/update-rundk.sh +++ b/support/update-rundk.sh @@ -67,8 +67,8 @@ if [ -n "$projdir" ]; then cp "$MYDIR/build" "$rundir/build" chmod +x "$rundir/build" fi - if [ ! -f "$projdir/.build.env.dist" ]; then - sed <"$MYDIR/dot-build.env.dist" >"$projdir/.build.env.dist" ' + if [ ! -f "$projdir/..env.dist" ]; then + sed <"$MYDIR/dot-build.env.dist" >"$projdir/..env.dist" ' /^IMAGENAME=/s/=.*\//='"$(basename -- "$projdir")"'\// ' initial_config=1