Exhibit preserve bug

master
Fabien Freling 2019-10-30 23:08:20 +01:00
parent 6395eb2f43
commit ad67e6a215
2 changed files with 23 additions and 1 deletions

View File

@ -1 +1,7 @@
run ./generate_thumbnails.tup
: asset.raw |> !tup_preserve |>
: asset.raw |> cp %f %o |> %B.thumbnail
#: foreach *.raw |> !tup_preserve |>
#: foreach *.raw |> cp %f %o |> %B.thumbnail
#run ./generate_thumbnails.tup

16
thumbnails/preserve_bug.sh Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
tup # everything builds fine
echo ""
echo "Success"
echo ""
touch Tupfile
tup # error
echo ""
echo "Fail"
echo ""
# tup error: Command ID 15 lists this file as both an input and an output:
# build-default/asset.raw