Comment 2 for bug 1744599

Revision history for this message
Joshua Powers (powersj) wrote :

Thanks for taking the time to file a bug!

It looks like the nuke-graph-directory.sh script is a shell (/bin/sh) and at the end runs shopt, which is a bash built-in.

To reproduce:

$ mkdir /tmp/test
$ pull-lp-source docker.io
$ cd docker.io-*
$ sudo ./contrib/nuke-graph-directory.sh /tmp/test

Nuking /tmp/test ...
  (if this is wrong, press Ctrl+C NOW!)

+ sleep 10

./nuke-graph-directory.sh: 64: ./nuke-graph-directory.sh: shopt: not found